Skip to content

Commit

Permalink
Fix incorrect server name included in the details section
Browse files Browse the repository at this point in the history
  • Loading branch information
exil0867 committed Mar 19, 2023
1 parent cd14f9c commit d502941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def cloneMessage(message, channel_id, hook_id):
timestamp=message.created_at
)
embed.set_author(name=f'{message.author.name}#{message.author.discriminator}', icon_url=message.author.avatar_url)
embed.add_field(name="Server name", value=channel.guild.name)
embed.add_field(name="Server name", value=message.channel.guild.name)
embed.add_field(name="Channel name", value=message.channel.name)
embed.add_field(name="Author ID", value=message.author.id)
embed.add_field(name="Message ID", value=message.id)
Expand Down

0 comments on commit d502941

Please sign in to comment.