This commit is contained in:
@@ -52,7 +52,7 @@ class Buttons(discord.ui.View):
|
|||||||
async def test(interaction:discord.Interaction):
|
async def test(interaction:discord.Interaction):
|
||||||
print(f"{interaction.user} used command! BAHHHH!")
|
print(f"{interaction.user} used command! BAHHHH!")
|
||||||
try:
|
try:
|
||||||
await interaction.response.send_message("Pay $5 for a Mario CUMM", view=Buttons())
|
await interaction.response.send_message("Pay $5 for a Mario Moment", view=Buttons())
|
||||||
except discord.app_commands.errors.CommandInvokeError:
|
except discord.app_commands.errors.CommandInvokeError:
|
||||||
print("Uh oh! It failed!")
|
print("Uh oh! It failed!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user