Commit Graph

22 Commits

Author SHA1 Message Date
c59c95c47a
Refactor commands to use the router
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-06 00:02:24 -05:00
0345b1cba1
Add a command router
This will only required one handler for all of the commands
2022-09-06 00:02:24 -05:00
fbd655b2da
Respect the debug flag in the environment 2022-08-28 09:45:34 -05:00
af10ef4dc5
Use HasCommand() helper 2022-08-27 09:00:35 -05:00
ac6d30e085
Allow bot to respond to DM's 2022-08-25 08:23:35 -05:00
ce689146de
Reorganize packages 2022-08-24 09:06:00 -05:00
6c0000d409
Tidy up main 2022-08-24 08:52:30 -05:00
547063de2e
Move handlers to their own package 2022-08-23 13:25:44 -05:00
435884b61a
Move config to bot package 2022-08-23 11:52:36 -05:00
cf3fece52c
Reaction handler will not add a variable number of reactions 2022-08-22 19:30:56 -05:00
d75a02554d
Bind Discord and OpenWeatherMap tokens to environment variables 2022-08-22 19:29:42 -05:00
322a88e0ad
Make reaction handler more shit-posty 2022-08-22 07:59:39 -05:00
0fd921ee28
Make configuration file optional 2022-08-22 07:59:23 -05:00
bbdbe1e926
Add !version, remove !source 2022-08-07 07:17:34 -05:00
b852b02aed
Added !source command 2022-08-05 10:04:04 -05:00
2895789aac
Inject config into each command handler 2022-08-03 23:52:08 -05:00
4e69e241dd
Seed math/rand more efficiently 2022-08-03 23:28:07 -05:00
d0ddca7fe1
make all handlers a struct 2022-07-27 23:43:08 -05:00
b1824f8d33
remove more slash commands 2022-07-27 21:59:41 -05:00
348cd543fc
rename config var 2022-07-27 19:35:13 -05:00
cd783493c9
remove slash commands 2022-07-27 19:34:34 -05:00
fde1097851
move main.go 2022-07-26 10:32:43 -05:00