Skip to content

Commit

Permalink
Update social.py
Browse files Browse the repository at this point in the history
  • Loading branch information
7bitlyrus authored Jun 27, 2024
1 parent f12ff26 commit 87fd8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/social.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ async def _old_profile_redirect(self, ctx):

@_old_profile_redirect_edit.command(name='edit')
async def _old_profile_redirect(self, ctx):
for command in self.bot.tree.get_commands(guild=discord.Object(id=config.nintendoswitch)):
for command in self.bot.tree.get_commands(guild=discord.Object(id=config.nintendoswitch)):
# Iterate over commands in the tree so we can get the profile command ID
if command.name == 'profile':
break
Expand Down

0 comments on commit 87fd8fa

Please sign in to comment.