ajout permission administrateur

This commit is contained in:
Mylloon 2021-05-31 23:51:02 +02:00
parent b22058fc77
commit 7f41c59693

View file

@ -82,7 +82,7 @@ class Help(commands.Cog):
"""Invite ce bot sur ton serveur !""" """Invite ce bot sur ton serveur !"""
if fromSlash == None: if fromSlash == None:
fromSlash = False fromSlash = False
embed = discord.Embed(description = f"[Lien vers l'invitation Discord](https://discord.com/api/oauth2/authorize?client_id={self.client.user.id}&permissions=0&scope=bot%20applications.commands)").set_author(name="Invite moi !") embed = discord.Embed(description = f"[Lien vers l'invitation Discord](https://discord.com/api/oauth2/authorize?client_id={self.client.user.id}&permissions=8&scope=bot%20applications.commands)").set_author(name="Invite moi !")
if fromSlash != True: if fromSlash != True:
await ctx.message.add_reaction(emoji = '') await ctx.message.add_reaction(emoji = '')
return await ctx.send(embed = embed) return await ctx.send(embed = embed)