Browse Source

live patches

master
Annwan 2 years ago
parent
commit
cb419a1106
  1. 5
      app/Main.hs

5
app/Main.hs

@ -134,15 +134,16 @@ onDiscordStart conf@Config {..} eventSystem = do
onDiscordEvent :: Config -> E.EventSystem -> Event -> Discord.DiscordHandler ()
onDiscordEvent conf@Config {..} eventSystem (Ready _ _ _ _ _ _ (PartialApplication i _))
= do
liftIO $ putStrLn "onready"
mapM_
(maybe
(return ())
(void . Discord.restCall . R.CreateGuildApplicationCommand i configServer)
)
[ pingCommand
, edtCommand conf
-- , edtCommand conf
, remindCommand
, groupCommand conf
-- , groupCommand conf
, helpCommand
]

Loading…
Cancel
Save