diff --git a/exclamation_mark_charity/modules/tournament/cog.py b/exclamation_mark_charity/modules/tournament/cog.py index fbd993d..225f1a7 100644 --- a/exclamation_mark_charity/modules/tournament/cog.py +++ b/exclamation_mark_charity/modules/tournament/cog.py @@ -117,6 +117,10 @@ class Tournament(interactions.Extension): success, all_tournaments = Database.view_all_tournaments() tables = [table[0] for table in all_tournaments[1:]] + if not tables: + await ctx.send("No Tables To Delete!") + return + menu = interactions.SelectMenu( custom_id="tournament_deletes_menu", options=[interactions.SelectOption(label=table, value=table) for table in tables],