aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2021-10-08Remove unnecessary `else`Gravatar Izan-7/+7
2021-10-08Add handling for `discord.NotFound` when re-rolling / removing reactionGravatar Izan-2/+7
2021-10-08`.topic` command improvements.Gravatar Izan-18/+27
- Fix bug where command author couldn't re-roll - Now removes user's reaction up re-roll - Added a missing `break` statement
2021-10-08Candy collection: fix positional arg being passed as kwordGravatar Matteo Bertucci-1/+1
This caused a `TypeError` to be raised, as the `id` argument could only be used as a positional argument and not by keyword.
2021-10-07Allow topics to be refreshedGravatar Chris Lovering-3/+62
This is done via an emoji as buttons are too big Co-authored-by: Bluenix <[email protected]>
2021-10-07Add a 2 minute cooldown to the topic commandGravatar Chris Lovering-20/+4
Using the command while it's on cooldown will hit the error handler, which sends an error message showing how long is left on the cooldown, which is deleted after 7.5 seconds.
2021-10-07Added Anagrams command (#874)Gravatar Mayur Odedara-0/+17778
* Added Anagrams command Added 2 files anagram.py - Has the code for anagram command anagram.json - Contains all the words for anagram command * Update bot/exts/fun/anagram.py Using "with" for resource file instead of getting data directly Co-authored-by: brad90four <[email protected]> * Update bot/exts/fun/anagram.py Updated title text for answer embed Co-authored-by: Bluenix <[email protected]> * Update bot/exts/fun/anagram.py Comma separated text for winners list Co-authored-by: Bluenix <[email protected]> * Updated anagram.py as per review comments -Removed redundant variables -Updated embed text to avoid 'all' -Updated stale comments * Some minor formatting fixes -Added trailing commas to embed -Updated all embeds to have consistent format * Polish anagram command for multiple channels * Updated docstrings * Allowed command to be used in multiple channels * Create a class for anagram game instances * Lay groundwork for threads Co-Authored-By: Bluenix <[email protected]> * Updated resource file for anagram command * Anagrams are now cross referenced with list of common words which should be easy for users to guess * It should not have any slur words * Update bot/exts/fun/anagram.py Co-authored-by: brad90four <[email protected]> * Update bot/exts/fun/anagram.py Co-authored-by: brad90four <[email protected]> * Update bot/exts/fun/anagram.py Co-authored-by: brad90four <[email protected]> * Update bot/exts/fun/anagram.py Co-authored-by: brad90four <[email protected]> * Linting error fix Linting error fix * Error fix Removed the "seconds" causing issue for anagram command * Revert "Error fix" This reverts commit 8c00d70f9faf62c536eac1fa61877dfab328a83f. * Error fix for seconds Fixed the error by removing "seconds" Co-authored-by: brad90four <[email protected]> Co-authored-by: Bluenix <[email protected]> Co-authored-by: Xithrius <[email protected]>
2021-10-04Monkey patch http.send_typing to catch 403sGravatar Chris Lovering-55/+85
Sometimes discord turns off typing events by throwing 403's, so we should catch those
2021-10-03Ignore bot messages for spooky reactGravatar Gustav Odinger-4/+4
Previously only ignored its own messages, but now ignores messages from all bots.
2021-10-03Give the bookmark command a better error messageGravatar Chris Lovering-1/+7
2021-10-02Make setting the old embed description cleanerGravatar camcaswell-3/+1
2021-10-01Hackto issue finder: make d.py timestamp naiveGravatar Matteo Bertucci-2/+2