Removed the leave command
This commit is contained in:
parent
a575baf5e1
commit
2d96f351c7
1 changed files with 0 additions and 7 deletions
|
@ -55,13 +55,6 @@ class Mod:
|
|||
config.saveContent('nsfw_channels', nsfw_channels)
|
||||
await self.bot.say("This channel has just been unregistered as a nsfw channel")
|
||||
|
||||
@commands.command(pass_context=True, no_pm=True)
|
||||
@checks.customPermsOrRole(manage_server=True)
|
||||
async def leave(self, ctx):
|
||||
"""Forces the bot to leave the server"""
|
||||
await self.bot.say('Why must I leave? Hopefully I can come back :c')
|
||||
await self.bot.leave_server(ctx.message.server)
|
||||
|
||||
@commands.command(pass_context=True, no_pm=True)
|
||||
@checks.customPermsOrRole(kick_members=True)
|
||||
async def say(self, ctx, *, msg: str):
|
||||
|
|
Loading…
Reference in a new issue