Commit Graph

16 Commits

Author SHA1 Message Date
31cf6f6c9a
Move code out of main.go 2022-09-06 21:48:29 -05:00
5651df37ef
Move command functions under a bot struct 2022-09-06 21:33:59 -05:00
139b32094e
Specify number of splits to make for command arguments
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-06 10:43:30 -05:00
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
579921a975
s/HasCommand/ContainsCommand/g
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-05 12:54:56 -05:00
4a024e98f2
Shorten 2022-09-04 22:36:14 -05:00
18d568b5c3
Add DealHandler 2022-09-01 09:24:55 -05:00
fbd655b2da
Respect the debug flag in the environment 2022-08-28 09:45:34 -05:00
7d071ebe0b
Move OpenWeatherMap code to a separate struct 2022-08-28 09:44:35 -05:00
af10ef4dc5
Use HasCommand() helper 2022-08-27 09:00:35 -05:00
c01db1abf1
Break random.go apart 2022-08-25 10:00:43 -05:00
69aee2e699
Interfaces do not need named parameters 2022-08-24 09:43:46 -05:00
ce689146de
Reorganize packages 2022-08-24 09:06:00 -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