* [Core] Add `Red.message_eligible_as_command`
- This is a small utility function which makes it easy for cog
creators to treat non-command messages as commands correctly.
- This also modifies `Red.ignored_channel_or_guild`'s signature to
explicitly add support for passing a message object (the only needed
attributes are entirely shared with context)
* Update redbot/core/bot.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* address review
* Rename
* remove webhhok check, the issue wasn't possible under normal operation
* Ah yes, ctx.bot in a method of the bot...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* make mute and unmute have the same fail string
* now add the jucy bits
* hmm no
This reverts commit a445bd84150585b4ad85c0c1ccadbee2022af196.
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* optimise use of config ctx manager to reduce calls to config
* fine you potato
* since jack said yes i'll abuse it
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* difference_update and update
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/core/settings_caches.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* one last tweak
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Remove users from tempban unban list when hackbanning them
* black and missing bracket
* make sure this actually gets processed
* let the user know when a tempban was upgraded
* say more things
* reduce config calls
* jack loves performance
* adress review
* review the 2nd
Any group which sent help + settings views has had the settings view
split into a seperate command. This ensures that custom help behavior
does not interfere with settings views.
* core full stops/other grammar fixes
* need to read better (i'm keeping it on two lines)
* apply review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* update wording for giphy api
* of cource master draper
#3938 - make the command untranslateable
* i18n <your_api_key_here>
* commas to parens as discused in discord
Vendor `discord.ext.menus` from commit `cc108bed812d0e481a628ca573c2eeeca9226b42` at https://github.com/Rapptz/discord-ext-menus
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Make deprecation notice specify minor release based on soonest date
* Stop specifying a specific release in shared libs deprecation notice
* Add actual deprecation warning for `APIToken` (OMG, this is so cool)
* Add dates (2020-08-05 for all)
* address review
* improve consistency
* Add __dir__ and show APIToken in docs (or maybe I want to annoy Flame)
* fix module name when importing non-existent name from parent package
* Fix stack level used by depr warn in `redbot.core.commands`
* hopefully all strings in streams.py
* black streams.py
* don't touch docstrings
* uniformity is good
* thx draper
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
* aaaaaaaaaaaaaaaaaaaaaa
* translate more
* sure, joining some strings for jack
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* more strings to join
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* yup... I missed this
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* jaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaack blaaaaaaaaaaaaaaaaaaaaaack
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Only send notify_owners in mod migration if at least 1 scope entry has a non default value
* update string
* use asynciter on these potentially large loops
* check server settings too