Skip to content

Commit cc890c4

Browse files
committed
Formatting
1 parent 25cba86 commit cc890c4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,14 +1026,14 @@ async def trigger_auto_triggers(self, message, channel, *, cls=commands.Context)
10261026

10271027
# Check for alias
10281028
if not found_command:
1029-
invoked_with = self.aliases.get(invoked_with)[1:-1] # Get command linked to alias
1030-
view = StringView(invoked_prefix + invoked_with) # Create StringView for new command
1031-
invoked_with = view.get_word().lower()[1:] # Parse the new command
1032-
found_command = self.all_commands.get(invoked_with) # Get the command function
1029+
invoked_with = self.aliases.get(invoked_with)[1:-1] # Get command linked to alias
1030+
view = StringView(invoked_prefix + invoked_with) # Create StringView for new command
1031+
invoked_with = view.get_word().lower()[1:] # Parse the new command
1032+
found_command = self.all_commands.get(invoked_with) # Get the command function
10331033

10341034
ctx_ = cls(prefix=self.prefix, view=view, bot=self, message=message)
10351035
ctx_.command = found_command
1036-
1036+
10371037
ctx_.invoked_with = invoked_with
10381038
ctx_.thread = thread
10391039
discord.utils.find(view.skip_string, await self.get_prefix())
@@ -1044,7 +1044,7 @@ async def trigger_auto_triggers(self, message, channel, *, cls=commands.Context)
10441044
if ctx.command:
10451045
old_checks = copy.copy(ctx.command.checks)
10461046
ctx.command.checks = [checks.has_permissions(PermissionLevel.INVALID)]
1047-
1047+
10481048
await self.invoke(ctx)
10491049

10501050
ctx.command.checks = old_checks

cogs/modmail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ async def reply(self, ctx, *, msg: str = ""):
820820
"""
821821

822822
ctx.message.content = msg
823-
823+
824824
async with ctx.typing():
825825
await ctx.thread.reply(ctx.message)
826826

0 commit comments

Comments
 (0)