Skip to content

Commit 59c466c

Browse files
committed
Populate registry everytime using the command
1 parent 630d3db commit 59c466c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ async def plugin_enabled(self, ctx):
271271
async def plugin_registry(self, ctx, *, plugin_name:str=None):
272272
"""Shows a list of all approved plugins."""
273273

274-
embeds = []
275-
274+
await self.populate_registry()
276275

276+
embeds = []
277277

278278
registry = list(self.registry.items())
279279
random.shuffle(registry)

0 commit comments

Comments
 (0)