Commit Graph

37 Commits

Author SHA1 Message Date
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
424b191ebc
Fix HasCommand()
It was not working if the command had an argument
2022-08-26 17:55:51 -05:00
c01db1abf1
Break random.go apart 2022-08-25 10:00:43 -05:00
ac6d30e085
Allow bot to respond to DM's 2022-08-25 08:23:35 -05:00
886a447082
go mod tidy 2022-08-25 07:48:58 -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
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
d790094399
Ignore bin 2022-08-22 08:05:26 -05:00
39e1153781
Ignore .vscode 2022-08-22 08:04:49 -05:00
f075e2454c
Add Docker Compose file 2022-08-22 08:03:16 -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
f8cf68af83
Add entrypoint and CA certificates to Dockerfile 2022-08-22 07:56:18 -05:00
b2f69ed2f7
Add ignored config.go 2022-08-08 00:40:43 -05:00
bbdbe1e926
Add !version, remove !source 2022-08-07 07:17:34 -05:00
1643fef377
Add HasCommand() 2022-08-07 07:12:53 -05:00
b852b02aed
Added !source command 2022-08-05 10:04:04 -05:00
2674645475
SeedMathRand should return an error 2022-08-04 11:14:35 -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
826ac3292f
create util.go 2022-07-27 23:42:27 -05:00
85b2e2b99b
remove argument requirement for time command 2022-07-27 22:13:17 -05:00
7031bcce40
add time command 2022-07-27 22:04:02 -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
df800efc90
add Dockerfile and Makefile 2022-07-26 10:40:45 -05:00
fde1097851
move main.go 2022-07-26 10:32:43 -05:00
a235b84b9f
first commit 2022-07-26 09:30:17 -05:00