Skip to content

Commit

Permalink
Check for avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikk155 committed Oct 8, 2024
1 parent c83aa64 commit e66fe98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/say.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def say( interaction: discord.Interaction, message: str, user: Optional[di

await interaction.response.send_message( '<:walter_what:1278078147870331011>', ephemeral=True, delete_after=0.1 )

avatar = user.avatar.url;
avatar = user.avatar.url if user.avatar else None;
username = user.display_name;

webhook = await interaction.channel.create_webhook( name='say_cmd' );
Expand Down

0 comments on commit e66fe98

Please sign in to comment.