@@ -112,9 +112,7 @@ builtinCommands =
112112 cmapR (const () ) updateBttvEmotesCommand))
113113 , ( " help"
114114 , mkBuiltinCommand
115- ( " Send help"
116- , $ githubLinkLocationStr
117- , helpCommand builtinCommands))
115+ (" Send help" , $ githubLinkLocationStr, helpCommand builtinCommands))
118116 , ( " poll"
119117 , mkBuiltinCommand
120118 ( " Starts a poll. !poll <duration:secs> option1; option2; ...; option3"
@@ -226,15 +224,13 @@ builtinCommands =
226224 , authorizeSender senderAuthority $
227225 replyOnNothing " Only for mods" $
228226 regexArgs " ([a-zA-Z0-9]+) ?(.*)" $
229- replyLeft $
230- pairArgs $ replyLeft $ addCustomCommand builtinCommands))
227+ replyLeft $ pairArgs $ replyLeft $ addCustomCommand builtinCommands))
231228 , ( " delcmd"
232229 , mkBuiltinCommand
233230 ( " Delete custom command"
234231 , $ githubLinkLocationStr
235232 , authorizeSender senderAuthority $
236- replyOnNothing " Only for mods" $
237- deleteCustomCommand builtinCommands))
233+ replyOnNothing " Only for mods" $ deleteCustomCommand builtinCommands))
238234 , ( " updcmd"
239235 , mkBuiltinCommand
240236 ( " Update custom command"
@@ -406,9 +402,7 @@ builtinCommands =
406402 , mkBuiltinCommand
407403 ( " Suggest video for the friday stream"
408404 , $ githubLinkLocationStr
409- , nonEmptyRoles
410-
411- fridayCommand))
405+ , nonEmptyRoles fridayCommand))
412406 , ( " videoq"
413407 , mkBuiltinCommand
414408 ( " Get the link to the current Friday Queue"
@@ -631,7 +625,7 @@ mention =
631625bot :: Bot
632626bot Started = do
633627 startRefreshFridayGistTimer
634- startRefreshHelpGistTimer builtinCommands
628+ startRefreshHelpGistTimer builtinCommands
635629-- TODO(#656): Restarted Twitch transport thread can duplicate timers
636630bot (Joined channel@ (TwitchChannel _)) = do
637631 startPeriodicCommands channel dispatchCommand
0 commit comments