Add setup to SettingsCog

This commit is contained in:
Zeva Rose 2021-07-01 12:28:29 -06:00
parent 825b291ee9
commit 3f12bdf9ec

View file

@ -43,3 +43,7 @@ class SettingsCog(commands.Cog):
await ctx.defer() await ctx.defer()
self.update_settings("mute", role.id, ctx.guild.id) self.update_settings("mute", role.id, ctx.guild.id)
await ctx.send(f"Settings applied. New mute role is {role.name}") await ctx.send(f"Settings applied. New mute role is {role.name}")
def setup(bot):
bot.add_cog(SettingsCog(bot))