mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
Owners can bypass cooldowns with non persistent toggle (#4440)
* dev bypas cooldowns * Toggleable within dev, new attrib * Reuqested changes * Remake content * Looks like `reset_cooldown()` is under Command object :) * Remove `await` Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -162,6 +162,7 @@ class RedBase(
|
||||
self._ignored_cache = IgnoreManager(self._config)
|
||||
self._whiteblacklist_cache = WhitelistBlacklistManager(self._config)
|
||||
self._i18n_cache = I18nManager(self._config)
|
||||
self._bypass_cooldowns = False
|
||||
|
||||
async def prefix_manager(bot, message) -> List[str]:
|
||||
prefixes = await self._prefix_cache.get_prefixes(message.guild)
|
||||
|
||||
Reference in New Issue
Block a user