mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fix setting guild prefixes when the prefixes aren't in cache (#3897)
This commit is contained in:
parent
dbcb179523
commit
bc21f77976
@ -49,7 +49,7 @@ class PrefixManager:
|
||||
self._cached.clear()
|
||||
await self._config.prefix.set(prefixes)
|
||||
else:
|
||||
del self._cached[gid]
|
||||
self._cached.pop(gid, None)
|
||||
await self._config.guild_from_id(gid).prefix.set(prefixes)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user