Create Success Button

main
sgoudham 3 years ago
parent a8c8b49fe9
commit 2ec0cbb9f7
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -73,7 +73,7 @@ class Tournament(interactions.Extension):
if sub_command == "create": if sub_command == "create":
row = interactions.ActionRow( row = interactions.ActionRow(
components=[ components=[
create_button(interactions.ButtonStyle.PRIMARY, "Yes", "success"), create_button(interactions.ButtonStyle.SUCCESS, "Yes", "success"),
create_button(interactions.ButtonStyle.DANGER, "Cancel", "cancel") create_button(interactions.ButtonStyle.DANGER, "Cancel", "cancel")
] ]
) )

Loading…
Cancel
Save