1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +12:00

Removed the leave command

This commit is contained in:
Phxntxm 2016-08-06 09:11:40 -05:00
parent a575baf5e1
commit 2d96f351c7

View file

@ -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):