Working copy of watbot by wuselfuz. This is a modified version by **** in golang.
Go to file
Georg Pfuetzenreuter 5560c59614
Prevent dice overflow
rand.Int() would panic when the max value is <= 0, which happens when
big.NewInt() was fed with a too large number. Avoid this by validating
the big.NewInt() return beforehand. Add error handling to all callers to
both gracefully return to IRC and to log an error message.
Rename the shadowed "max" variable whilst at it to avoid confusion.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-10 02:41:46 +02:00
init/systemd Init systemd service 2022-02-02 16:36:36 +01:00
osrc Reimplemented python bot in golang, skipped a few features 2018-10-21 13:04:35 +01:00
wat Prevent dice overflow 2024-10-10 02:41:46 +02:00
.gitignore Remove and ignore binary 2024-09-21 16:22:04 +02:00
build fixes #7 2019-06-28 18:54:32 +01:00
config.example.yaml Implement Jeopardy cashout 2024-09-29 14:36:23 +02:00
go.mod Strip formatting codes 2024-10-02 21:40:30 +02:00
go.sum Strip formatting codes 2024-10-02 21:40:30 +02:00
LICENSE Initial commit 2018-10-19 23:30:20 +00:00
main.go Implement Jeopardy cashout 2024-09-29 14:36:23 +02:00
README.md sorry for rehosting ur stuff (。◕ ‿ ◕。) 2018-10-20 00:45:25 +01:00

watbot

watbot

ported watbot from wuselfuzz