fix loading default prefixes in initalize

This commit is contained in:
brandons209 2020-02-09 20:43:54 -05:00
parent 94b5f0e15f
commit 584184cec1

View file

@ -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()