mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
Fix setting guild prefixes when the prefixes aren't in cache (#3897)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user