aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix GitHub repo link constant Gravatar gustavwilliam2020-09-22-1/+1
| | | | | - Previous version was pointing to Python, not SeasonalBot Co-authored-by: Dennis Pham <[email protected]>
* Fix extensions command bot avatar urlGravatar Gustav Odinger2020-09-21-1/+1
| | | | - Uses self.bot (the bot instance) instead of Bot (the bot object) to access avatar url
* Update snake cog so ext command won't show filesGravatar Gustav Odinger2020-09-21-4/+4
| | | | - Doing .c list would show the files inside the snakes module as individual cogs, which isn't the case
* Move bot repo URL constant and delete avatar URLGravatar Gustav Odinger2020-09-21-8/+4
| | | | | | | | - Avatar URL can be accessed through bot.user.avatar_url and won't need to be a constant - Bot repo URL fits better under the Client named tuple - URLs class removed, since it was no longer used
* Remove modlog from unload blacklist Gravatar gustavwilliam2020-09-21-1/+1
| | | | | - No modlog exists for SeasonalBot and is therefore redundant Co-authored-by: Dennis Pham <[email protected]>
* Update max_size of paginator Gravatar gustavwilliam2020-09-21-1/+1
| | | | | - Should prevent `RuntimeError: Line exceeds maximum page size 698` Co-authored-by: Dennis Pham <[email protected]>
* Fix core developers role idGravatar Gustav Odinger2020-09-21-1/+1
| | | | | | - Previous versions used the id from a local test server - This version uses the PyDis core developer role
* Add extensions managment commandGravatar Gustav Odinger2020-09-21-0/+265
| | | | | | - Allows admins and core developes to manage loaded and unloaded extensions (mostly cogs) - Mostly copied from the 'Python' bot, with some tweaks to make it work for SeasonalBot
* Add status emojis in constants.pyGravatar Gustav Odinger2020-09-21-0/+5
| | | | - Required for extensions.py to work properly
* Add utils module in bot/exts/Gravatar Gustav Odinger2020-09-21-0/+0
|
* Update constants.py to include URLsGravatar Gustav Odinger2020-09-21-0/+7
| | | | | | - Includes bot_avatar and github_bot_repo URLs - Necessary for extensions.py cog to work
* Add extensions.py fileGravatar Gustav Odinger2020-09-21-0/+34
| | | | | | - Necessary for extensions.py to work - Fully copied over from the 'Python' bot
* Add checks.py fileGravatar Gustav Odinger2020-09-21-0/+164
| | | | | | - Necessary for extensions.py to work - Copied from the 'Python' bot, with minor tweaks to make it work with SeasonalBot
* Merge pull request #448 from python-discord/clean_uwuGravatar Sebastiaan Zeeff2020-09-21-4/+4
|\ | | | | Prevent uwu output from pinging globally allowed roles.
| * Use clean_content when fetching linked msgs for fun commands.Gravatar scragly2020-09-21-2/+2
| |
| * Merge branch 'master' into clean_uwuGravatar scragly2020-09-21-48/+187
| |\ | |/ |/|
* | Merge pull request #445 from python-discord/fix/issue-pr-commandGravatar Senjan212020-09-20-5/+30
|\ \ | | | | | | Small fixes for the .issue command
| * | Fix order of importsGravatar Den42002020-09-19-1/+1
| | |
| * | Authenticate with the GitHub API to allow for more requestsGravatar Den42002020-09-19-3/+7
| | |
| * | Invoke help command when no PRs/issues are givenGravatar Den42002020-09-19-0/+4
| | |
| * | Limit maximum PRs/issues to 10 per invocationGravatar Den42002020-09-19-1/+14
| | |
| * | Allow `issue` command in #dev-brandingGravatar Den42002020-09-19-2/+6
|/ /
* | Merge pull request #444 from python-discord/greedy-issuesGravatar Senjan212020-09-20-38/+47
|\ \ | | | | | | Updated issue/PR command to acquire multiple links.
| * | Described how links are shown in the embed.Gravatar Xithrius2020-09-19-0/+1
| | |
| * | Replaced single quotes with double, set the repo link to be user-definedGravatar Xithrius2020-09-19-2/+2
| | |
| * | Updated issue/pr command to get multiple links.Gravatar Xithrius2020-09-19-38/+46
|/ /
* | Merge pull request #443 from python-discord/bug/message-convert-fixGravatar scragly2020-09-19-6/+10
|\ \ | | | | | | Stop users from viewing messages they shouldn't.
| * | Stop users from viewing messages they shouldn't.Gravatar kosayoda2020-09-18-6/+10
|/ / | | | | | | | | | | | | | | | | Using a user token, a user could fetch the message ID of a message in any channel, which may leak information when potential Message objects are automatically converted and parsed. Now, the bot will only retrive text from a valid Message object if the user has read permissions for the message the channel is in.
* | Merge pull request #421 from PureFunctor/caesar-commandGravatar Kieran Siek2020-09-18-2/+103
|\ \ | | | | | | Caesar cipher command
| * \ Merge branch 'master' into caesar-commandGravatar Kieran Siek2020-09-18-243/+777
| |\ \ | |/ / |/| |
| * | Fix typo in casercipher help.Gravatar Kieran Siek2020-09-18-1/+1
| | |
| * | Refactor methods to use _get_text_and_embedGravatar PureFunctor2020-09-18-7/+4
| | | | | | | | | | | | | | | | | | | | | This changes the converters used by caesarcipher_encrypt and caesarcipher_decrypt in order to accomodate for the manual conversion that _get_text_and_embed does, which allows for this feature to be easily disabled.
| * | Make the encryption function top-levelGravatar PureFunctor2020-09-18-13/+21
| | | | | | | | | | | | | | | This makes caesar_func a top-level function and renames it to caesar_cipher.
| * | Explicitly pass left_shift as a keyword argumentGravatar PureFunctor2020-07-29-2/+2
| | |
| * | Refactor translation methods to avoid repetitionGravatar PureFunctor2020-07-15-12/+12
| | |
| * | Add 'enc'/'dec' aliases for encrypt/decryptGravatar PureFunctor2020-07-02-2/+2
| | |
| * | Separate the formula for the actual offsetGravatar PureFunctor2020-07-02-1/+4
| | |
| * | Change text to msg in command docstringsGravatar PureFunctor2020-06-30-3/+3
| | |
| * | Fix return type annotationGravatar PureFunctor2020-06-29-2/+2
| | |
| * | Add 'cc' alias for caesarcipherGravatar PureFunctor2020-06-28-1/+1
| | |
| * | Add UTF-8 encoding when loading embed informationGravatar PureFunctor2020-06-27-1/+1
| | |
| * | Use pathlib and fix grammar in the information embedGravatar PureFunctor2020-06-27-2/+3
| | |
| * | Utilize Union[Message, str] for converting messagesGravatar PureFunctor2020-06-27-8/+13
| | |
| * | Use Context.invoke instead of invoking the Help cogGravatar PureFunctor2020-06-27-1/+1
| | |
| * | Load embed data in __init__ and use Embed.from_dictGravatar PureFunctor2020-06-26-8/+5
| | |
| * | Add offset validationGravatar PureFunctor2020-06-26-2/+8
| | |
| * | Refactor translate subcommand to encrypt and decryptGravatar PureFunctor2020-06-26-9/+31
| | |
| * | Add basic caesar cipher information embedGravatar PureFunctor2020-06-26-1/+16
| | |
| * | Make caesarcipher a command groupGravatar PureFunctor2020-06-14-6/+19
| | |
| * | Add initial caesarcipher commandGravatar PureFunctor2020-06-14-0/+34
| | |