Use bot nick in help commands
This commit is contained in:
parent
f6f4bfac35
commit
f7b012259c
2 changed files with 15 additions and 9 deletions
|
|
@ -23,12 +23,12 @@ myCommands :: [Command]
|
|||
myCommands =
|
||||
[ E.pingCommand "Pong!"
|
||||
, E.generalPingCommand "Pong!"
|
||||
, E.helpCommand "Some specific placeholder help"
|
||||
, E.generalHelpCommand "I help test @Garmy's EuphApi"
|
||||
, E.helpCommand (\n -> "Some specific placeholder help for " <> E.atMention n <> ".")
|
||||
, E.generalHelpCommand (const "I help test @Garmy's EuphApi.")
|
||||
, E.uptimeCommand
|
||||
, E.generalUptimeCommand -- most bots don't do this
|
||||
, E.killCommand "Bye!"
|
||||
, E.restartCommand "brb"
|
||||
, E.restartCommand "brb."
|
||||
]
|
||||
|
||||
myBotHandler :: E.EventType -> Bot ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue