Commit Graph

16 Commits

Author SHA1 Message Date
a0fc17fd89
Refactored handlers and command handlers 2022-09-24 21:45:20 -05:00
7a0c90a5f7
Move config to a separate package 2022-09-22 22:53:40 -05:00
12372522e9
Add rock, paper, scissors, lizard, spock 2022-09-15 09:32:01 -05:00
5a141be534
Add rock, paper, scissors command 2022-09-09 10:23:03 -05:00
6bd4744745
Return errors to main 2022-09-09 10:21:07 -05:00
04aef2f0e4
Reload the config file on SIGHUP 2022-09-08 02:35:39 -05:00
9221a218b9
Log config file being loaded 2022-09-08 02:35:01 -05:00
a551a10e59
Shorten an error check 2022-09-08 02:28:58 -05:00
d8a28fb211
Add method to load the config 2022-09-08 02:26:47 -05:00
2ac0df3494
Binding to the DEBUG environment variable is not necessary 2022-09-08 02:23:38 -05:00
a151b08142
Move flags to init() 2022-09-08 01:45:16 -05:00
b419cfde69
Fix workaround for optional config file with Viper
There was a false error reported when the configuration file was found
2022-09-08 00:59:10 -05:00
446ac616bf
Fix lint errors
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-07 00:54:58 -05:00
e2032942ca
Add handlers to Bot struct 2022-09-07 00:29:28 -05:00
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