Skip to content

Commit ef84531

Browse files
committed
Randomly shuffle registry plugins
1 parent 471a9dd commit ef84531

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cogs/plugins.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,10 @@ async def plugin_registry(self, ctx):
273273

274274
embeds = []
275275

276-
for name, info in self.registry.items():
276+
registry = list(self.registry.items())
277+
random.shuffle(registry)
278+
279+
for name, info in registry:
277280
repo = f"https://github.com/{info['repository']}"
278281

279282
em = discord.Embed(

0 commit comments

Comments
 (0)