ajout permission administrateur
This commit is contained in:
parent
b22058fc77
commit
7f41c59693
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Reference in a new issue