aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (follow)
Commit message (Collapse)AuthorAgeLines
* 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 branch 'master' into caesar-commandGravatar Kieran Siek2020-09-18-55/+403
|\
| * fix `reddit` command to use new emojis.Gravatar Senjan212020-09-17-3/+3
| |
| * Update variable name from terning to diceGravatar Gustav Odinger2020-09-17-2/+2
| |
| * Update .roll to use new dice emojisGravatar Gustav Odinger2020-09-16-1/+1
| | | | | | | | - Resolves #440
| * Update bot/exts/evergreen/conversationstarters.pyGravatar Xithrius2020-09-10-1/+1
| | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * Updated conversationstarters to simplify what values need to be checked.Gravatar Xithrius2020-09-10-7/+4
| |
| * Update bot/exts/evergreen/conversationstarters.pyGravatar Xithrius2020-09-10-1/+4
| | | | | | Co-authored-by: Shirayuki Nekomata <[email protected]>
| * Update bot/exts/evergreen/conversationstarters.pyGravatar Xithrius2020-09-09-1/+1
| | | | | | Co-authored-by: Shirayuki Nekomata <[email protected]>
| * Added RandomCycle utility to jump between set indexes repeatedly.Gravatar Xithrius2020-09-09-10/+3
| |
| * Removed logging.Gravatar Xithrius2020-09-09-3/+0
| |
| * Topics are now iterated through instead of randomly selected.Gravatar Xithrius2020-09-09-16/+26
| |
| * Removed the time utility and replaced it with the arrow package.Gravatar Xithrius2020-08-29-2/+1
| | | | | | | | Alphabetized the "Colours" NamedTuple in the constants file.
| * Update bot/exts/evergreen/wolfram.pyGravatar Xithrius2020-08-29-2/+1
| | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * Migrated Wolfram cog from the Python bot in Python-Discord/bot.Gravatar Xithrius2020-08-29-0/+280
| |
| * Merge branch 'master' into python-topicsGravatar Joe Banks2020-08-23-16/+10
| |\
| | * Remove whitespace from fun.pyGravatar Joe Banks2020-08-20-1/+1
| | |
| | * Update fun.py to satisfy the linterGravatar Joe Banks2020-08-20-6/+2
| | |
| | * Temporarily remove message functionality from FunGravatar Joe Banks2020-08-20-10/+8
| | | | | | | | | Remove message link functionality from uwu and randomcase due to a security vulnerability
| * | Sorted imports to comply with flake8 standards.Gravatar Xithrius2020-08-17-1/+1
| | |
| * | Changed from json to yaml extraction of channel topics.Gravatar Xithrius2020-08-17-4/+8
| | |
| * | Update bot/exts/evergreen/conversationstarters.pyGravatar Xithrius2020-08-10-1/+1
| | | | | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * | Gave the Embed the burple color.Gravatar Xithrius2020-08-10-2/+4
| | |
| * | ALL_ALLOWED_CHANNELS now is a list of channel IDs instead of None.Gravatar Xithrius2020-08-10-1/+1
| | |
| * | Linted.Gravatar Xithrius2020-08-10-3/+4
| | |
| * | Finalized whitelist for allowed channels .topic can be used in.Gravatar Xithrius2020-08-10-6/+14
| | | | | | | | | | | | Changed resource path to evergreen, added WHITELISTED_CHANNELS to PY_TOPICS channels.
| * | Linted.Gravatar Xithrius2020-08-10-3/+2
| | |
| * | Updated to comply with reviews.Gravatar Xithrius2020-08-10-17/+16
| | |
| * | Finalized topic selection.Gravatar Xithrius2020-08-09-19/+26
| | |
| * | Edited "topic" command for fetching python channel topics.Gravatar Xithrius2020-08-09-1/+24
| |/
| * Merge branch 'master' into statuscatsGravatar Dennis Pham2020-07-14-6/+6
| |\
| | * Remove redundant f-stringsGravatar MarkKoz2020-07-14-6/+6
| | | | | | | | | | | | This fixes a new lint error (F541) introduced by flake8 3.8.
| * | Removed logging, added more explicit error catching..Gravatar Xithrius2020-07-12-5/+5
| | |
| * | Update bot/exts/evergreen/status_cats.pyGravatar Xithrius2020-07-12-1/+1
| | | | | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * | Delete extra blank line to pass linterGravatar manusaurio2020-07-12-1/+0
| | |
| * | Update bot/exts/evergreen/status_cats.pyGravatar Xithrius2020-07-12-1/+2
| | | | | | | | | Co-authored-by: manusaurio <[email protected]>
| * | Fixed importing and context argument annotation.Gravatar Xithrius2020-07-11-3/+3
| | |
| * | Created the statuscat command.Gravatar Xithrius2020-07-11-0/+33
| |/
* | 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-1/+2
| |