Skip to content

Commit

Permalink
fix dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari-W committed Jul 9, 2023
1 parent 5c4c45f commit 99afad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ async def on_accept(
)

await request_interaction.user.send(
channel_request_accepted(channel_request_accept_input.name_of_channel)
channel_request_accepted(channel_request_accept_input.name_of_channel.value)
)
embed = accept_interaction.message.embeds[0]
embed = embed.set_footer(text=f"Accepted by {accept_interaction.user.nick}")
Expand Down Expand Up @@ -443,7 +443,7 @@ async def on_accept(

await request_interaction.user.send(
channel_request_accepted(
offtopic_channel_request_accept_input.name_of_channel
offtopic_channel_request_accept_input.name_of_channel.value
)
)
embed = accept_interaction.message.embeds[0]
Expand Down

0 comments on commit 99afad0

Please sign in to comment.