Commit graph

17 commits

Author SHA1 Message Date
Aadi Desai 8d868ebae4
Sourcery Suggestions 2022-06-14 19:21:27 +01:00
Aadi Desai 87f3086c71
Update dependencies and add timed job 2022-01-02 23:16:00 +00:00
Aadi Desai 411fe4d505
Add detection for spoiler tags and ignore matching messages 2022-01-02 23:15:59 +00:00
Aadi Desai fdb7a2bb6e
Fix Logging
Portainer does not support buffered output, replace using Bot status instead
2022-01-02 23:15:59 +00:00
Aadi Desai 43057b949c
Add idle logging and tidy code 2022-01-02 23:15:58 +00:00
Aadi Desai 6ec9714e2b
Add full caps variant to regex 2022-01-02 23:15:58 +00:00
Aadi Desai b219f9b65c
Add unconditional reply and counter init message to log 2022-01-02 23:15:57 +00:00
Aadi Desai 7e7a30e1d6
Temp Patch
No idea why split seems to work differently now, but this should be fine
2022-01-02 23:15:56 +00:00
Aadi Desai bfe75cb851
Add more detailed logging of split function 2022-01-02 23:15:56 +00:00
Aadi Desai 34ce7b1716
Clean up logs 2022-01-02 23:15:55 +00:00
Aadi Desai 558eabccca
Fix Regex term
Should now only match when at the start of message or word
2022-01-02 23:15:55 +00:00
Aadi Desai f4a44f891b
Update cooldown mechanism
Add adjustable min/max cooldown message counter
2022-01-02 23:15:54 +00:00
Aadi Desai f55d464bcf
Rename Script for Docker
app.py --> main.py
2022-01-02 23:15:54 +00:00
Aadi Desai e130905194
Add message randomisation and ability to detect keywords within messages 2022-01-02 23:15:53 +00:00
Aadi Desai 552b7cbd89
Basic Dadbot functionality 2022-01-02 23:15:52 +00:00
Aadi Desai 7672a21454
Project Setup
.gitignore: Virtual Env folder, Secrets File (eg. for bot token)
.vscode/settings.json: venv python path
requirements.txt: project dependencies
2022-01-02 23:15:52 +00:00
Aadi Desai 9377c0f0d2
Initial commit 2022-01-02 23:15:51 +00:00