mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-19 03:42:33 +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:
|
||||
curr = await self.bot.get_valid_prefixes()
|
||||
prefixes.extend(curr)
|
||||
self.cache[ctx.guild.id]["prefixes"] = curr
|
||||
self.cache[guild.id]["prefixes"] = curr
|
||||
|
||||
@commands.command(aliases=["uinfo"])
|
||||
@commands.guild_only()
|
||||
|
|
Loading…
Reference in a new issue