Skip to content

Commit

Permalink
Update scheduled event when table set
Browse files Browse the repository at this point in the history
  • Loading branch information
trickeydan committed Sep 19, 2024
1 parent fa3e2c1 commit c2e5a94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kmibot/modules/pub/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ async def table(self, interaction: discord.Interaction, table_number: int) -> No
ephemeral=True,
)

await event.edit(location=f"{pub.name} - Table {table_number}")

pub_channel = interaction.guild.get_channel(self.config.pub.channel_id)
assert isinstance(pub_channel, discord.TextChannel)

Expand Down

0 comments on commit c2e5a94

Please sign in to comment.