mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fixed grammatical mistakes in core_commands.py (#4966)
This fixes some issues from the recent commit 'Core Cog Guide'
This commit is contained in:
parent
410b2419dd
commit
cb45ef6c42
@ -3061,8 +3061,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
Using this without a setting will toggle.
|
Using this without a setting will toggle.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- `[p]helpset usemenues True` - Enables using menus.
|
- `[p]helpset usemenus True` - Enables using menus.
|
||||||
- `[p]helpset usemenues` - Toggles the value.
|
- `[p]helpset usemenus` - Toggles the value.
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
- `[use_menus]` - Whether to use menus. Leave blank to toggle.
|
- `[use_menus]` - Whether to use menus. Leave blank to toggle.
|
||||||
@ -3884,7 +3884,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"""
|
"""
|
||||||
Clears the allowlist.
|
Clears the allowlist.
|
||||||
|
|
||||||
This disables the local allowlist and clears all entires.
|
This disables the local allowlist and clears all entries.
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
- `[p]localallowlist clear`
|
- `[p]localallowlist clear`
|
||||||
@ -3969,7 +3969,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
self, ctx: commands.Context, *users_or_roles: Union[discord.Member, discord.Role, int]
|
self, ctx: commands.Context, *users_or_roles: Union[discord.Member, discord.Role, int]
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Removes user or role from blocklist.
|
Removes user or role from local blocklist.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- `[p]localblocklist remove @26 @Will` - Removes two users from the local blocklist.
|
- `[p]localblocklist remove @26 @Will` - Removes two users from the local blocklist.
|
||||||
@ -3993,7 +3993,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"""
|
"""
|
||||||
Clears the server blocklist.
|
Clears the server blocklist.
|
||||||
|
|
||||||
This disabled the server blocklist and clears all entries.
|
This disables the server blocklist and clears all entries.
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
- `[p]blocklist clear`
|
- `[p]blocklist clear`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user