mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* feat(mod): configurable amount of repeats for "deleterepeats" resolves #2267 * fix(mod): check user input instead of changing it if it's invalid * fix(mod): only purge cache when argument is valid * perf(mod): fetch repeats from config only when guild not in cache
9 lines
149 B
Python
9 lines
149 B
Python
from redbot.core.bot import Red
|
|
from .mod import Mod
|
|
|
|
|
|
async def setup(bot: Red):
|
|
cog = Mod(bot)
|
|
await cog.initialize()
|
|
bot.add_cog(cog)
|