aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2020-07-02Add 'enc'/'dec' aliases for encrypt/decryptGravatar PureFunctor-2/+2
2020-07-02Separate the formula for the actual offsetGravatar PureFunctor-1/+4
2020-06-30Change text to msg in command docstringsGravatar PureFunctor-3/+3
2020-06-29Fix return type annotationGravatar PureFunctor-2/+2
2020-06-28Add 'cc' alias for caesarcipherGravatar PureFunctor-1/+1
2020-06-27Add UTF-8 encoding when loading embed informationGravatar PureFunctor-1/+1
2020-06-27Use pathlib and fix grammar in the information embedGravatar PureFunctor-2/+3
2020-06-27Utilize Union[Message, str] for converting messagesGravatar PureFunctor-8/+13
2020-06-27Use Context.invoke instead of invoking the Help cogGravatar PureFunctor-1/+1
2020-06-26Load embed data in __init__ and use Embed.from_dictGravatar PureFunctor-8/+5
2020-06-26Add offset validationGravatar PureFunctor-2/+8
2020-06-26Refactor translate subcommand to encrypt and decryptGravatar PureFunctor-9/+31
2020-06-26Add basic caesar cipher information embedGravatar PureFunctor-1/+16
2020-06-14Make caesarcipher a command groupGravatar PureFunctor-6/+19
2020-06-14Add initial caesarcipher commandGravatar PureFunctor-0/+34
2020-05-25Remove accidental extra word from docstringGravatar kwzrd-1/+1
2020-05-245/24 - bot utils - added encoding, and notes for persistGravatar jodth07-1/+4
2020-05-245/24 - bot exts - updated writing with utf8 encodingGravatar jodth07-4/+4
2020-05-195/19 - ext - set upen files encoding to utf8 for botsGravatar jodth07-14/+14
2020-05-195/19 - bot | xmas, easter, evergreen - updated open statesments with ↵Gravatar jodth07-11/+11
explicit encoding
2020-05-195/19 - evergreen | triva - fixed utf-8 bugs for windowsGravatar jodth07-1/+1
2020-05-17Set ayncio event loop to Selector on windows.Gravatar Numerlor-0/+6
Python 3.8 set the default asyncio event loop on windows to Proactor, which is not supported in aiodns. Co-authored-by: MarkKoz <[email protected]>
2020-05-11Update halloweenify error message to make it more readable and restructure ↵Gravatar Matteo Bertucci-6/+6
the flow
2020-05-08F i x e d S p a c eGravatar DuckMasterAl-1/+1
2020-05-08Show bot prefix in rich presenceGravatar kwzrd-1/+4
This emulates the main bot's message for consistency.
2020-05-07Lint limitGravatar DuckMasterAl-1/+2
2020-05-07Updated Prefix and WebsiteGravatar DuckMasterAl-3/+4
2020-05-04exit minesweeper early if DM disabledGravatar Serban Constantin-11/+11
If user has DMs disabled then don't initialize board and don't start a game.
2020-05-04Handle staff users and DMs in the halloweenify cogGravatar Matteo Bertucci-2/+17
The bot doesn't have enough rights to modify staff nicknames, and can't change it when it is invoked through DM neither.
2020-04-29update minesweeper dm error messageGravatar Serban Constantin-1/+1
2020-04-26handle disabled DMs when starting MinesweeperGravatar Serban Constantin-5/+10
If the user trying to start Minesweeper has DMs disabled then warn him in the channel where the command was invoked.
2020-04-19Fix import orderGravatar Numerlor-1/+1
2020-04-19Allow issue command in #dev-contribGravatar Numerlor-2/+2
2020-04-19Add #dev-contrib to channel constantsGravatar Numerlor-0/+1
2020-04-08(Error Handler): Added `UserNotPlayingError` catching to error handler.Gravatar ks129-1/+5
2020-04-08(Minesweeper): Moved `UserNotPlayingError` to `bot.utils.exceptions`, ↵Gravatar ks129-14/+7
removed definition in extensions. Removed custom error handler.
2020-04-08(Minesweeper): Added raising `UserNotPlayingError`, attached flag command to ↵Gravatar ks129-0/+7
error handler.
2020-04-08(Minesweeper): Renamed user not playing error handler, changed `error` type ↵Gravatar ks129-2/+2
hint from `typing.Any` to `Exception`, changed handling `KeyError` to handling `UserNotPlayingError`.
2020-04-08(Minesweeper): Created new exception `UserNotPlayingError`.Gravatar ks129-0/+6
2020-04-07(Minesweeper): Reverted KeyError catching in reveal command, made error ↵Gravatar ks129-5/+8
handler that catch it instead and attached reveal and end command to it.
2020-04-07(Space): Moved APOD command min date to constant, made changes in error ↵Gravatar ks129-3/+5
message when date is going out of range.
2020-04-06(Space): Fixed formatting of try-except block.Gravatar ks129-5/+7
2020-04-06(Space): Added check is date in range 16th June 1995 and today.Gravatar ks129-1/+6
2020-04-06(Minesweeper): Added try-except block to reveal command.Gravatar ks129-1/+5
2020-04-04Transition towards `wait_until_guild_available` useGravatar kwzrd-11/+14
All calls to `wait_until_ready` are replaced with the new event. To help with static analysis, we annotate `bot` attrs as instances of our custom SeasonalBot class where necessary.
2020-04-04Add `wait_until_guild_available` coroutineGravatar kwzrd-0/+34
See docstring for explanation & comparison to the `on_ready` event. This is taken from the Python bot repository. Originally implemented by Mark. The `on_guild_available` callback was adapted and simplified from the original implementation, as with Sentry in place, it is believed that dispatching an error webhook is unnecessary. Co-authored-by: MarkKoz <[email protected]>
2020-04-04Try to fetch devlog channel if not found in cacheGravatar kwzrd-2/+6
2020-04-03Remove redundant task assignmentGravatar kwzrd-1/+1
2020-04-03Send greeting message to devlog channel on bot start-upGravatar kwzrd-0/+1
Previously, this was done by the SeasonManager cog, which was removed during our deseasonification efforts.
2020-04-03Ensure cache is ready before grabbing devlog channelGravatar kwzrd-0/+1