Add setup to SettingsCog
This commit is contained in:
parent
825b291ee9
commit
3f12bdf9ec
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue