Answer the question
In order to leave comments, you need to log in
An error occurred while executing the code. How to fix?
The code:
@bot.command()
@commands.is_owner()
async def leave(self, ctx, id: int):
guild = discord.utils.get(bot.guilds, id=id)
await guild.leave()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question