Skip to content
Snippets Groups Projects
Commit b12495cf authored by dnns01's avatar dnns01
Browse files

Add button shuffle

parent c1b29c75
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,9 @@ class ClickGame(commands.Cog):
{"style": ButtonStyle.gray, "value": 5, "custom_id": "click_game:plus", "emoji": plus_emoji},
{"style": ButtonStyle.gray, "value": -5, "custom_id": "click_game:minus", "emoji": minus_emoji}
]
random.shuffle(buttons)
return self.bot.view_manager.view(buttons, "on_click")
async def get_leaderboard(self, guild: Guild, max_entries: int = 10):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment