Skip to content

Commit

Permalink
Incorrect channel specified
Browse files Browse the repository at this point in the history
  • Loading branch information
MattBSG committed Sep 13, 2024
1 parent 1015629 commit 139d70b
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 @@ -861,7 +861,7 @@ async def _profile_friendcode(self, interaction: discord.Interaction, code: str)
otherUsers.append(f'> **{user}** ({u["_id"]})')

if hasPuns:
admin_channel = self.bot.get_channel(config.nintendoswitch)
admin_channel = self.bot.get_channel(config.adminChannel)
others = '\n'.join(otherUsers)
plural = "that of another user" if (len(otherUsers) == 1) else "those of other users"
await admin_channel.send(
Expand Down

0 comments on commit 139d70b

Please sign in to comment.