mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-02 10:34:54 +12:00
fix loading default prefixes in initalize
This commit is contained in:
parent
94b5f0e15f
commit
584184cec1
|
@ -165,7 +165,7 @@ class ActivityLogger(commands.Cog):
|
||||||
if not prefixes:
|
if not prefixes:
|
||||||
curr = await self.bot.get_valid_prefixes()
|
curr = await self.bot.get_valid_prefixes()
|
||||||
prefixes.extend(curr)
|
prefixes.extend(curr)
|
||||||
self.cache[ctx.guild.id]["prefixes"] = curr
|
self.cache[guild.id]["prefixes"] = curr
|
||||||
|
|
||||||
@commands.command(aliases=["uinfo"])
|
@commands.command(aliases=["uinfo"])
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|
Loading…
Reference in a new issue