From 54c019757443b0e7eed773b10190432e499925db Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Mon, 29 Jun 2020 08:34:24 +0200 Subject: [PATCH] change command order, add command syntax/example to help, addgroup, groups commands --- src/pages/commands.js | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/pages/commands.js b/src/pages/commands.js index 33cc147..e4e620b 100644 --- a/src/pages/commands.js +++ b/src/pages/commands.js @@ -34,7 +34,9 @@ const Command = ({ command, commandSyntax, description, example }) => { const commandsForAll = [ { command: "tw!help", + commandSyntax: "tw!help", description: "This command shows you all available commands.", + example: "tw!help", }, { command: "tw!tribe topatt", @@ -81,12 +83,16 @@ const commandsForAll = [ const adminCommands = [ { command: "tw!addgroup", + commandSyntax: "tw!addgroup", description: "This command adds a new observation group.", + example: "tw!addgroup", }, { command: "tw!groups", + commandSyntax: "tw!addgroup", description: "This command shows you a list of groups created by this guild.", + example: "tw!addgroup", }, { command: "tw!deletegroup", @@ -117,22 +123,22 @@ const adminCommands = [ command: "tw!conqueredvillages", commandSyntax: "tw!conqueredvillages [group ID from tw!groups]", description: - "This command changes channel at which notifications about conquered village will show.", + "This command changes the channel on which notifications about conquered village will show. IMPORTANT! Call this command on the channel you want to display these notifications.", example: "tw!conqueredvillages 1", }, + { + command: "tw!lostvillages", + commandSyntax: "tw!lostvillages [group ID from tw!groups]", + description: + "This command changes the channel on which notifications about lost village will show. IMPORTANT! Call this command on the channel you want to display these notifications.", + example: "tw!lostvillages 2", + }, { command: "tw!unobserveconqueredvillages", commandSyntax: "tw!unobserveconqueredvillages [group ID from tw!groups]", description: "This command disable notifications about conquered villages.", example: "tw!unobserveconqueredvillages 1", }, - { - command: "tw!lostvillages", - commandSyntax: "tw!lostvillages [group ID from tw!groups]", - description: - "This command changes channel at which notifications about lost village will show.", - example: "tw!lostvillages 2", - }, { command: "tw!unobservelostvillages", commandSyntax: "tw!unobservelostvillages [group ID from tw!groups]",