Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
56f8f6f
Keep module level imports at the top of file (E402)
Jackenmen Sep 12, 2022
f5a79a7
Suppress E402 (Module level import not at top of file) where applicable
Jackenmen Sep 12, 2022
4628c21
Remove unused imports, add __all__ for re-exports (F401)
Jackenmen Sep 12, 2022
d03215c
Split strings that are cause too long lines (E501)
Jackenmen Sep 12, 2022
45cd05b
Fix ambiguous variable names (E741)
Jackenmen Sep 12, 2022
3717f59
Handle unused variables (F841)
Jackenmen Sep 12, 2022
bc658a9
Strip f from f-strings that don't have any placeholders (F541)
Jackenmen Sep 12, 2022
72b93d5
Fix trailing whitespace (W291)
Jackenmen Sep 12, 2022
50a5697
Use simpler iterators where their items are unused (when possible)
Jackenmen Sep 12, 2022
5b18026
Update TimedeltaConverter usage to be valid for linters & type checkers
Jackenmen Sep 12, 2022
bb7a4ad
[TODO] Update logging calls to use %-formatting
Jackenmen Sep 12, 2022
d164edd
Fix too many leading '#' for block comment (E266)
Jackenmen Sep 12, 2022
9fd8083
Add second blank line between globals and function definition (E302)
Jackenmen Sep 12, 2022
ea14312
Use == to compare against constant literals (F632)
Jackenmen Sep 12, 2022
9c194d3
Remaining flake8 suppresses (E722, F811)
Jackenmen Sep 12, 2022
d8ee1c1
Change bare except to `except Exception`
Jackenmen Mar 6, 2021
04d7d75
Change place of import in redbot.core.i18n
Jackenmen Mar 6, 2021
c24396b
Use `{command}` placeholder to make life of Translators easier
Jackenmen Mar 6, 2021
d363830
Reformat with isort 5.10.1
Jackenmen Sep 13, 2022
bee3880
Fix spelling with codespell
Jackenmen Sep 13, 2022
64b3618
Add ignored lines and words to spellcheck configuration
Jackenmen Sep 13, 2022
02d7b28
Remove trailing whitespace
Jackenmen Sep 13, 2022
f67f2dd
Make files end with one empty line
Jackenmen Mar 12, 2022
5ee6862
Reformat JSON files with `pretty-format-json` hook
Jackenmen Mar 16, 2021
8f7240c
Remove duplicate keys in YAML files
Jackenmen Sep 13, 2022
e04d801
Replace direct usage of zero-width space with an escape
Jackenmen Sep 18, 2022
24f912a
Remove unnecessary pass/...
Jackenmen Sep 19, 2022
6ba544e
Mark/delete unused arguments (unused-argument)
Jackenmen Sep 20, 2022
a2cdd07
Transform list comprehension into a loop (expression-not-assigned)
Jackenmen Sep 20, 2022
5de039e
Rewrit try on a key access to do rest of the work in else (pointless-…
Jackenmen Sep 20, 2022
cc98444
Update logging calls to use %-formatting
Jackenmen Sep 20, 2022
f921c59
Address redundant retursn documentation (redundant-returns-doc)
Jackenmen Sep 20, 2022
eb4115b
Fix differing parameter documentation (differing-param-doc)
Jackenmen Sep 20, 2022
61202db
Use `raise from` when raising while exception handling
Jackenmen Sep 20, 2022
f1c9c17
Update logging calls to use %-formatting
Jackenmen Sep 20, 2022
5c4ebfb
Remove unnecessary lambda (unnecessary-lambda)
Jackenmen Sep 20, 2022
bc367ed
Remove variable assignment to itself (self-assigning-variable)
Jackenmen Sep 20, 2022
718f646
Ignore irrelevant not-callable errors
Jackenmen Sep 20, 2022
95b4b61
Assign all attributes inside __init__ (attribute-defined-outside-init)
Jackenmen Sep 20, 2022
6cfc53f
Remove unnecessary global keyword usage (global-variable-not-assigned)
Jackenmen Sep 20, 2022
afffb20
Specify encoding in open() (unspecified-encoding)
Jackenmen Sep 20, 2022
27e8ef1
Remove commented out code (pointless-string-statement)
Jackenmen Sep 20, 2022
f4b8ecb
Remove overlapping exceptions (overlapping-except)
Jackenmen Sep 20, 2022
ddaa629
Remove useless else on loop (useless-else-on-loop)
Jackenmen Sep 20, 2022
9ddf6c9
Remove dangerous default values (dangerous-default-value)
Jackenmen Sep 20, 2022
7a5d3ae
Add missing super call (super-init-not-called)
Jackenmen Sep 20, 2022
84d9dfe
Fix data deletion in Reports cog (undefined-loop-variable)
Jackenmen Sep 20, 2022
78bbfac
Remove exception handlers that raise immediately (try-except-raise)
Jackenmen Sep 20, 2022
0540dbc
Handle incompatible overrides (arguments-differ,arguments-renamed)
Jackenmen Sep 20, 2022
62a1fd0
Suppress useless-parent-delegation when override updates the docstring
Jackenmen Sep 20, 2022
e5a29c3
Fix pylint thinking nothing is returned (assignment-from-no-return)
Jackenmen Sep 20, 2022
4a6b6ce
Suppress invalid-metaclass for dynamically generated metaclass type
Jackenmen Sep 20, 2022
645d968
Use `raise from` when raising while exception handling
Jackenmen Sep 20, 2022
0e78fba
Suppress false positive for cell-var-from-loop
Jackenmen Sep 20, 2022
bc37984
Use `is` for comparison of command objects (comparison-with-callable)
Jackenmen Sep 20, 2022
a7ccd0a
Fix removal of items during list iteration (modified-iterating-list)
Jackenmen Sep 20, 2022
408406f
Remove unnecessary logic for safe iteration over weakref dictionary
Jackenmen Sep 20, 2022
63a8779
Stop redefining built-ins (redefined-builtin)
Jackenmen Sep 20, 2022
110a1fb
Don't use bool as default in os.getenv() (invalid-envvar-default)
Jackenmen Sep 20, 2022
c8e5ed4
Change unnecessary bare except (E722)
Jackenmen Sep 20, 2022
8037132
Don't redefine names from outer scopes (redefined-outer-name)
Jackenmen Sep 20, 2022
704d432
Update argument name to not be a dummy name (useless-param/type-doc)
Jackenmen Sep 20, 2022
e7b2e02
Fix missing self arguments in pytest fixtures (no-method-argument)
Jackenmen Sep 20, 2022
35a18bc
Suppress bad-super-call for super outside the class (bad-super-call)
Jackenmen Sep 20, 2022
0c359ef
Suppress exec-used and eval-used in whole dev_commands.py file
Jackenmen Sep 20, 2022
71491ac
Update existing suppression comments
Jackenmen Sep 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,4 +393,3 @@ weak_cryptographic_key:
weak_key_size_ec_medium: 224
weak_key_size_rsa_high: 1024
weak_key_size_rsa_medium: 2048

4 changes: 2 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ checks:
plugins:
bandit:
enabled: false
radon:
radon:
enabled: false
config:
config:
threshold: "D"
duplication:
enabled: false
Expand Down
84 changes: 84 additions & 0 deletions .codespell-ignore-lines
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
- Poison Sting
- Exort
- Ether Shock
- FO 12
- S'engager pour la vie (To enlist for life)
- S'engager pour la vie
Who says "It'll sting a lot"?:
- Singed
Who is known as the "Revered Inventor"?:
- Tynar Rouge
- doesnt have one
Kelsey Grammer sings and plays the theme song for which TV show?:
The initials of the band NIN stand for?:
What job did Sting have before he was a rock star?:
- obi wan kenobi
- Kelsey Grammer
- Midge Ure
With which period in music do we associate with composers such as Bach, Handel and Vivaldi?:
Who has an achievement named "Did That Sting?"?:
Vorsprung durch Technik. (literally, advantage through technology):
"Sam uses Sting to kill some Orcs. Which \"Lord Of The Rings\" movie had that happen?":
- Sting
What American League pitcher threw a perfect game in game 5 of the 1956 World Series? Don Larsen, Pee Wee Reese, Johnny Kucks:
According to the song "Heigh Ho", what else do the dwarfs dig for besides diamonds?:
In "The Tigger Movie," what does Tigger go looking for?:
In Cars what color was Mater before he rusted?:
- Buzz Lightyear
- The Tigger Movie
What kind of tea does Buzz Lightyear drink in Toy Story?:
The classical composers Bach, Brahms, Handel, Strauss, and Schumann are all what nationality?:
What superhero was portrayed by Christian Bale?:
Who is Ned Stark's youngest daughter in the TV series 'Game of Thrones'?:
Whose quote is "fly like a butterfly sting like a bee"?:
- ND
What state is ND?:
- Chanel
- Ba
- Nd
- Te
- Kiri Te Kanawa
- Varian Wrynn
Who was Varian Wrynn's father?:
- Gameboy
(Fullmetal Alchemist) Solf J. Kimblee is known as the ___ Alchemist?:
Maka Albarn is from what anime?:
@_set_ownernotifications.command(name="optin")
"[Programming Languages]Influential programming language, published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.":
How many Hero Tokens are in this crate? http://i.imgur.com/fSYlcgi.jpg:
If you have level 5 critters how many critters will be in each crate?:
- capetown
- Baton Rouge
- Watchog
How many clones were ready when Obi Wan went to Kamino?:
What planet did Obi Wan exile himself to?:
Where did Obi Wan, Padme, and Anakin go to be executed?:
Who did Obi Wan Love?:
- Obi Wan
- Obi Wan Kenobi
- I Just Cant Stop Loving You
- Lip Rouge
What do the initials of the band NIN stand for?:
Who wrote the song 'Do They Know It's Christmas' with Midge Ure?:
- Tigger
Who does Obi Wan duel on Tatooine?:
macOS 11 (Big Sur) x86-64, aarch64 ~2023-10
[p]set ownernotifications optin
- Restricted ``[p]cleanupset notify`` to only be invokable in server channels (:issue:`5466`)
What is the name of the Covert operations arm of Overwatch?:
set ownernotifications optin
Who has a skin that references Lu Bu?:
AUTHOR: -Fulcrum#2658, A Wild Ferrothorn#0598, Blue™#3621, Cana#3619, Cardinal Billy#0833, Dynazide#9318, Filmnerdasaurus#3163, Firestarrox#6915, Fuzzysqurl#7058, GabeN#2515, Gates#9008, Gecko#3416, General Dan🎖#7690, Goals4Cory#3999, LaidenCee#5555, Marvelous_Chaos#7350, Mat#0317, Max Brown#3790, Michael#0575, Nate999#1285, Nikea8#0012, PenguinPride87#3572, Phantasmagoria#8041, Phinocio#6969, Pikaboo#2147, QuantiumP#1157, RWang95#3383, RandomBoltsFan#8134, SamT323#0323, Scaldera93#6969, Sigma#8016, Simba#4996, Spyders#1674, TheMiniatureMan#1024, TheRussianRocket#3638, TheVargTrain#6508, The_Notorious_BEN#0475, Theseolous#4208, Tooo#0123, TrustyJAID#0001, Tsar Peter the Great#1909, Windy City Hawkey#7814, Zero Very Cool#8863, aschwan41#0699, astrocreep#7211, brownboy102#2181, goobymaster#0025, guccipotato#7117, haha#0673, icseN#8889, investinsoup#7801, kopiikat#6135, kwando#1313, rpac62#7637, rufus#1996, sandman730#7796, scipio#4358, spookybecca#2969, tommybigshot#2455, and zonk#2716
Which player won the Hart trophy and the Conn Smythe trophy in the same season, and then repeated the feat a second time?:
Who holds the record for fastest ever first career NHL goal at 15 seconds TOI?:
- Frank Nighbor
- Nighbor
Who was the first NHL player to win 3 or more individual awards in a season, winning the Hart, Art Ross, and Lady Byng?:
Who scored the GWG in 3rd OT of Game 2 of the 2015 Western Conference final?:
- Al Secord
- Secord
Which member of the Avalanche was a founding member of the HDA?:
# Vancouver Canucks Trivia by Tooo#0123
- Ambien
- Ore
- Zefer
6 changes: 6 additions & 0 deletions .codespell-ignore-words
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
splitted
derails
bridget
rime
reay
gord
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Please be sure to use the correct template,
<!--
Please be sure to use the correct template,
if your report doesn't have the correct template please open an issue describing your issue in detail
For support regarding the bot itself please visit the discord server over at https://discord.gg/red
-->
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/04_feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ body:
- Describe what it should do
- Note whether it is to extend existing functionality or introduce new functionality

If you are requesting a cog to be included in core:
If you are requesting a cog to be included in core:
- Describe the functionality in as much detail as possible
- Include the command structure, if possible
- Please note that unless it's something that should be core functionality,
we reserve the right to reject your suggestion and point you to our cog
we reserve the right to reject your suggestion and point you to our cog
board to request it for a third-party cog

If you are requesting a command:
- Include what cog it should be in and a name for the command
- Describe the intended functionality for the command
Expand All @@ -49,4 +49,3 @@ body:
attributes:
label: Anything else?
description: Let us know if you have anything else to share.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/bugfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ To be used for pull requests that fix a bug

#### Describe the bug being fixed

<!--
If an issue exists for the bug, mention
<!--
If an issue exists for the bug, mention
that this PR fixes that issue
-->

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scripts/compile_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import sys
from pathlib import Path


GITHUB_OUTPUT = os.environ["GITHUB_OUTPUT"]
REQUIREMENTS_FOLDER = Path(__file__).parents[3].absolute() / "requirements"
os.chdir(REQUIREMENTS_FOLDER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = (async function ({github, context}) {
$repo_owner: String!
$repo_name: String!
$milestone_title: String!
) {
) {
repository(owner:$repo_owner name:$repo_name) {
milestones(query:$milestone_title states:OPEN first:100) {
nodes {
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scripts/merge_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from packaging.markers import Marker
from packaging.requirements import Requirement


REQUIREMENTS_FOLDER = Path(__file__).parents[3].absolute() / "requirements"
os.chdir(REQUIREMENTS_FOLDER)

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,3 @@ bh_unicode_properties.cache
# Sublime-github package stores a github token in this file
# https://packagecontrol.io/packages/sublime-github
GitHub.sublime-settings

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The following requirements must be installed prior to setting up:
- Python 3.8.1 or greater
- git
- pip

If you're not on Windows, you should also have GNU make installed, and you can optionally install [pyenv](https://github.com/pyenv/pyenv), which can help you run tests for different python versions.

1. Fork and clone the repository to a directory on your local machine.
Expand Down
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,9 @@ the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

The Red-DiscordBot project contains subcomponents in audio.py that have a
separate copyright notice and license terms. Your use of the source code for
these subcomponents is subject to the terms and conditions of the following
The Red-DiscordBot project contains subcomponents in audio.py that have a
separate copyright notice and license terms. Your use of the source code for
these subcomponents is subject to the terms and conditions of the following
licenses.

This product bundles methods from https://github.com/Just-Some-Bots/MusicBot/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
Red is a fully modular bot – meaning all features and commands can be enabled/disabled to your
liking, making it completely customizable. This is a *self-hosted bot* – meaning you will need
to host and maintain your own instance. You can turn Red into an admin bot, music bot, trivia bot,
new best friend or all of these together!
new best friend or all of these together!

[Installation](#installation) is easy, and you do **NOT** need to know anything about coding! Aside
from installing and updating, every part of the bot can be controlled from within Discord.
Expand All @@ -84,7 +84,7 @@ community of cog repositories.**

# Installation

**The following platforms are officially supported:**
**The following platforms are officially supported:**

- [Windows](https://docs.discord.red/en/stable/install_guides/windows.html)
- [MacOS](https://docs.discord.red/en/stable/install_guides/mac.html)
Expand Down
4 changes: 2 additions & 2 deletions docs/autostart_mac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Copy the output of that command.

Now run :code:`sudo nano /Library/LaunchDaemons/red.plist`

Paste the following and replace the following:
Paste the following and replace the following:

- :code:`username` (but not :code:`UserName`) with your Mac username
- :code:`path` with the path you copied earlier
Expand Down Expand Up @@ -62,7 +62,7 @@ Paste the following and replace the following:

.. note::

You may add any additional arguments you need to add to the :code:`redbot` command by
You may add any additional arguments you need to add to the :code:`redbot` command by
adding them to the end of the array under :code:`ProgramArguments`

.. note::
Expand Down
8 changes: 4 additions & 4 deletions docs/changelog_3_2_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Core Bot Changes
- Further improvements have been made to bot startup and shutdown.
- Prefixes are now cached for performance.
- Added the means for cog creators to use a global preinvoke hook.
- The bot now ensures it has at least the bare neccessary permissions before running commands.
- The bot now ensures it has at least the bare necessary permissions before running commands.
- Deleting instances works as intended again.
- Sinbad stopped fighting it and embraced the entrypoint madness.

Expand All @@ -28,7 +28,7 @@ Help Formatter

- ``[botname]`` is now replaced with the bot's display name in help text.
- New features added for cog creators to further customize help behavior.

- Check out our command reference for details on new ``format_help_for_context`` method.
- Embed settings are now consistent.

Expand Down Expand Up @@ -110,7 +110,7 @@ Breaking Changes
- ``bot.get_admin_role_ids``
- ``bot.get_mod_roles``
- ``bot.get_mod_role_ids`` (`#2967 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2967>`_)
- Reserved some command names for internal Red use. These are available programatically as ``redbot.core.commands.RESERVED_COMMAND_NAMES``. (`#2973 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2973>`_)
- Reserved some command names for internal Red use. These are available programmatically as ``redbot.core.commands.RESERVED_COMMAND_NAMES``. (`#2973 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2973>`_)
- Removed ``bot._counter``, Made a few more attrs private (``cog_mgr``, ``main_dir``). (`#2976 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2976>`_)
- Extension's ``setup()`` function should no longer assume that we are, or even will be connected to Discord.
This also means that cog creators should no longer use ``bot.wait_until_ready()`` inside it. (`#3073 <https://github.com/Cog-Creators/Red-DiscordBot/issues/3073>`_)
Expand Down Expand Up @@ -335,7 +335,7 @@ Bug Fixes
- ``[p]audioset settings`` no longer shows lavalink JAR version. (`#2904 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2904>`_)
- Fixed a ``KeyError: loadType`` when trying to play tracks. (`#2904 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2904>`_)
- ``[p]audioset settings`` now uses ``ctx.is_owner()`` to check if the context author is the bot owner. (`#2904 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2904>`_)
- Fixed track indexs being off by 1 in ``[p]search``. (`#2940 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2940>`_)
- Fixed track indexes being off by 1 in ``[p]search``. (`#2940 <https://github.com/Cog-Creators/Red-DiscordBot/issues/2940>`_)
- Fixed an issue where updating your Spotify and YouTube Data API tokens did not refresh them. (`#3047 <https://github.com/Cog-Creators/Red-DiscordBot/issues/3047>`_)
- Fixed an issue where the blacklist was not being applied correctly. (`#3047 <https://github.com/Cog-Creators/Red-DiscordBot/issues/3047>`_)
- Fixed an issue in ``[p]audioset restrictions blacklist list`` where it would call the list a ``Whitelist``. (`#3047 <https://github.com/Cog-Creators/Red-DiscordBot/issues/3047>`_)
Expand Down
6 changes: 3 additions & 3 deletions docs/changelog_3_3_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Developer changelog
-------------------

| **Important:**
| If you're using RPC, please see the full annoucement about current state of RPC in main Red server
| If you're using RPC, please see the full announcement about current state of RPC in main Red server
`by clicking here <https://discord.com/channels/133049272517001216/411381123101491200/714560168465137694>`_.


Expand Down Expand Up @@ -562,7 +562,7 @@ Core Commands
*************

- ``[p]set game`` no longer errors when trying to clear the status (:issue:`3630`, :issue:`3628`)
- All owner notifcations in Core now use proper prefixes in messages (:issue:`3632`)
- All owner notifications in Core now use proper prefixes in messages (:issue:`3632`)
- Added ``[p]set playing`` and ``[p]set streaming`` aliases for respectively ``[p]set game`` and ``[p]set stream`` (:issue:`3646`, :issue:`3590`)

ModLog
Expand Down Expand Up @@ -874,7 +874,7 @@ Audio
-----

- Playlist finding is more intuitive.
- disconnect and repeat commands no longer interfere with eachother.
- disconnect and repeat commands no longer interfere with each other.

CustomCom
---------
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog_3_4_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ Core Bot
- Red now logs clearer error if it can't find package to load in any cog path during bot startup (:issue:`4079`)
- ``[p]licenseinfo`` now has a 3 minute cooldown to prevent a single user from spamming channel by using it (:issue:`4110`)
- Added ``[p]helpset showsettings`` command (:issue:`4013`, :issue:`4022`)
- Updated Red's emoji usage to ensure consistent rendering accross different devices (:issue:`4106`, :issue:`4105`, :issue:`4127`)
- Updated Red's emoji usage to ensure consistent rendering across different devices (:issue:`4106`, :issue:`4105`, :issue:`4127`)
- Whitelist and blacklist are now called allowlist and blocklist. Old names have been left as aliases (:issue:`4138`)

.. _important-340-2:
Expand Down Expand Up @@ -1517,7 +1517,7 @@ Breaking changes

- see `discord.AllowedMentions` and ``allowed_mentions`` kwarg of ``.send()`` methods, if your cog requires to mention roles or ``@everyone/@here``

- `Context.maybe_send_embed()` now supresses all mentions, including user mentions (:issue:`4192`)
- `Context.maybe_send_embed()` now suppresses all mentions, including user mentions (:issue:`4192`)
- The default value of the ``filter`` keyword argument has been changed to ``None`` (:issue:`3845`)
- Cog package names (i.e. name of the folder the cog is in and the name used when loading the cog) now have to be `valid Python identifiers <https://docs.python.org/3/reference/lexical_analysis.html#identifiers>`__ (:issue:`3605`, :issue:`3679`)
- Method/attribute names starting with ``red_`` or being in the form of ``__red_*__`` are now reserved. See `version_guarantees` for more information (:issue:`4085`)
Expand Down
4 changes: 2 additions & 2 deletions docs/cog_guides/alias.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ be replaced by the first argument of your alias:
# this alias will execute the following command:
[p]ban Slime#3160 7 Spam bot.

For a more detailed explaination, read :ref:`this <alias-command-alias-add>`.
For a more detailed explanation, read :ref:`this <alias-command-alias-add>`.

.. _alias-commands:

Expand Down Expand Up @@ -158,7 +158,7 @@ Here are more examples:

* * Full command: ``[p]repo add SinbadCogs
https://github.com/mikeshardmind/SinbadCogs v3``

* Alias: ``[p]alias add newrepo repo add {2} https://github.com/{1}/{2}``
* Invoked with alias: ``[p]newrepo mikeshardmind SinbadCogs v3``

Expand Down
Loading