aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* Intents: use 'default' factoryGravatar kwzrd2020-10-31-3/+1
| | | | | | | | Since we disable both privileged intents, we can just construct an instance with them already off. As Senjan notes, this will also future-proof us against any privileged intents added in the future. Co-authored-by: Senjan21 <[email protected]>
* Intents: document which intents are privilegedGravatar kwzrd2020-10-31-2/+2
|
* Intents: disable privileged 'Members' intentGravatar kwzrd2020-10-31-0/+1
| | | | | | | With 'd.py' 1.5.1, the Member converter will now lazily fetch the member object. It is believed that this removes our need for the intent.
* Intents: call classmethod on class, not intermediate instanceGravatar kwzrd2020-10-05-1/+1
|
* Intents: initial setupGravatar kwzrd2020-10-05-0/+10
| | | | | | | For now, we require the privileged 'Guild Members' intent, to maintain all current functionality (e.g. Member convertors working with IDs). In the future, we may look into disabling this intent.
* Merge branch 'master' into source_cmdGravatar Matteo Bertucci2020-10-04-161/+911
|\
| * Merge branch 'master' into ecGravatar Matteo Bertucci2020-10-04-161/+820
| |\
| | * Merge branch 'master' into partnerzodiacGravatar Thomas Petersson2020-10-03-121/+569
| | |\
| | | * Authenticate GitHub API requests for the Hacktoberfest issue finder.Gravatar Den42002020-10-01-3/+9
| | | |
| | | * Removed unnecessary GitHub API request and checked response message instead.Gravatar Den42002020-10-01-6/+13
| | | | | | | | | | | | | | | | | | | | This check is to see if a GitHub user is non-existent. We do not want to log this as an error.
| | | * Check the GitHub user exists before searching for their PRs.Gravatar Den42002020-09-30-0/+5
| | | | | | | | | | | | | | | | Ensures an error does not occur when a GitHub user does not exist.
| | | * Authenticate GitHub API requests for Hacktoberfest stats.Gravatar Den42002020-09-30-3/+6
| | | | | | | | | | | | | | | | Also changed the user agent from `Discord Python Hacktoberbot` to `Python Discord Hacktoberbot`.
| | | * Improve formatting in timeleftGravatar Joe Banks2020-10-01-2/+5
| | | |
| | | * Update timeleft to not be locked to OctoberGravatar Joe Banks2020-09-30-11/+18
| | | |
| | | * Update t-shirt references to t-shirts and trees!Gravatar Joe Banks2020-09-30-3/+3
| | | |
| | | * Update Hacktoberfest image URLGravatar Joe Banks2020-09-30-1/+1
| | | |
| | | * Allow hacktoberfest commands in September and NovemberGravatar Joe Banks2020-09-30-3/+3
| | | |
| | | * Update the Hacktoberfest channel constantGravatar Sebastiaan Zeeff2020-09-30-2/+2
| | | | | | | | | | | | | | | | | | | | I've updated the Hacktoberfest channel ID to the ID of the new channel just created for the 2020 edition of the event.
| | | * Remove SpookySound Cog that played sounds in voiceGravatar Sebastiaan Zeeff2020-09-30-53/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had an old Cog that would allow our members to run a command to make Seasonal Bot join a voice channel to play a spooky sound. However, as our voice channel use has changed over the past year, we don't think that it's still a good idea to do this. That's why I removed the Cog and the constants related to it.
| | | * Merge branch 'master' into fix-bast-linkwrap-syntaxGravatar Dennis Pham2020-09-29-1/+1
| | | |\
| | | | * PR #458 Deps: update Pillow to 7.2Gravatar kwzrd2020-09-27-1/+1
| | | | |\
| | | | | * Merge branch 'master' into update-pillowGravatar Matteo Bertucci2020-09-24-5/+122
| | | | | |\
| | | | | * | 8bitify: Use NEAREST to resize avatar.Gravatar Matteo Bertucci2020-09-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It used to be the default, but it got changed in Pillow 7.0
| | | * | | | Rename BetterMessageConverter -> WrappedMessageConverterGravatar bast2020-09-29-3/+3
| | | | | | |
| | | * | | | Add more docstrings and flake8 cleanupGravatar bast2020-09-25-4/+4
| | | | | | |
| | | * | | | Make .bm handle embed-suppression syntax for message links <link>Gravatar bast2020-09-25-1/+18
| | | |/ / / | | | | | | | | | | | | | | | | | | [link] and [<link>] are also supported
| | | * | | Merge branch 'master' into ext-managmentGravatar Matteo Bertucci2020-09-24-1/+118
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | | * | Merge branch 'master' into bug_wikiGravatar Daniel Brown2020-09-22-124/+726
| | | | |\ \
| | | | * | | Changed Wikipedia to WikipediaSearchGravatar Anubhav2020-09-22-2/+2
| | | | | | |
| | | | * | | Changed WikipediaCog-> WikipediaGravatar Anubhav2020-09-22-2/+2
| | | | | | | | | | | | | | | | | | | | | Change this becuase this causing issue in help command
| | | | * | | changed List[str]->Optional[List[str]]Gravatar Anubhav16032020-09-22-2/+2
| | | | | | |
| | | | * | | handled exceptiom of ContentTypeError at search_wikipediaGravatar Anubhav16032020-09-22-9/+12
| | | | | | |
| | | * | | | Remove walk_extensions from exts' initGravatar Gustav Odinger2020-09-23-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Updates __main__.py to use the walk_extensions in utils/extensions.py
| | | * | | | Remove non-existing class reference in constantsGravatar Gustav Odinger2020-09-22-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Since URLs no longer exists, it's now removed from __all__
| | | * | | | 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
| | * | | | | modified error messageGravatar Anubhav16032020-10-02-3/+5
| | | | | | |
| | * | | | | modified error messageGravatar Anubhav16032020-10-01-2/+3
| | | | | | |
| | * | | | | Update bot/exts/valentines/valentine_zodiac.pyGravatar Anubhav2020-10-01-8/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Thomas Petersson <[email protected]>