Making leave guild text bold

pull/8/head
sgoudham 4 years ago
parent 499be9c901
commit f1a1a55035

@ -163,8 +163,11 @@ async def _ping(ctx):
@is_owner() @is_owner()
async def leave(ctx): async def leave(ctx):
"""Leaves the guild""" """Leaves the guild"""
await ctx.send("**Leaving the guild... Bye Bye uvu**") try:
await leave() await ctx.send("**Leaving the guild... Bye Bye uvu**")
await ctx.guild.leave()
except Exception as ex:
print(ex)
@client.command(name='help') @client.command(name='help')

Loading…
Cancel
Save