mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Alias] Strip extra whitespace from fake command messages (#4871)
This commit is contained in:
parent
a919610588
commit
7c853db9f4
@ -185,7 +185,7 @@ class Alias(commands.Cog):
|
|||||||
# noinspection PyDunderSlots
|
# noinspection PyDunderSlots
|
||||||
new_message.content = "{}{} {}".format(
|
new_message.content = "{}{} {}".format(
|
||||||
prefix, command, " ".join(args[trackform.max + 1 :])
|
prefix, command, " ".join(args[trackform.max + 1 :])
|
||||||
)
|
).strip()
|
||||||
await self.bot.process_commands(new_message)
|
await self.bot.process_commands(new_message)
|
||||||
|
|
||||||
async def paginate_alias_list(
|
async def paginate_alias_list(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user