Skip to content

Commit

Permalink
Remove guild ID in the main file
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Jan 6, 2024
1 parent 506c7f0 commit 32be260
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,14 @@ async def on_message(message):
await message.channel.send(embed=embed)


@tree.command(name="fd", description="Frame data from a character move", guild=discord.Object("645011181739835397"))
@tree.command(name="fd", description="Frame data from a character move")
async def self(interaction: discord.Interaction, character_name: str, move: str):
if not (util.is_user_blacklisted(interaction.user.id) or util.is_author_newly_created(interaction)):
embed = create_frame_data_embed(character_name, move)
await interaction.response.send_message(embed=embed, ephemeral=False)


@tree.command(name="feedback", description="Send feedback incase of wrong data",
guild=discord.Object("645011181739835397"))
@tree.command(name="feedback", description="Send feedback incase of wrong data")
async def self(interaction: discord.Interaction, message: str):
if not (util.is_user_blacklisted(interaction.user.id) or util.is_author_newly_created(interaction)):
try:
Expand Down

0 comments on commit 32be260

Please sign in to comment.