Skip to content
Snippets Groups Projects
Commit 80e0337c authored by Reviath's avatar Reviath
Browse files

Update all invite commands.

parent 8d0270ca
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import (
func InviteCommand(ctx CommandHandler.Context, _ []string) error {
inviteembed := embedutil.NewEmbed().
SetColor(0xc000ff).
SetDescription(fmt.Sprintf("Click [here](https://discord.com/oauth2/authorize?client_id=%s&scope=bot&permissions=8) to invite me!", ctx.Session.State.User.ID)).MessageEmbed
SetDescription(fmt.Sprintf("Click [here](https://discord.com/oauth2/authorize?client_id=%s&scope=applications.commands+bot&permissions=8) to invite me!", ctx.Session.State.User.ID)).MessageEmbed
ctx.ReplyEmbed(inviteembed)
return nil
......
......@@ -19,7 +19,7 @@ func InteractionHandler(session *discordgo.Session, event *discordgo.Event) {
}
embed := embedutil.NewEmbed().
SetColor(0xc000ff).
SetDescription(fmt.Sprintf("Click [here](https://discord.com/oauth2/authorize?client_id=%s&scope=bot&permissions=8) to invite me!", session.State.User.ID)).MessageEmbed
SetDescription(fmt.Sprintf("Click [here](https://discord.com/oauth2/authorize?client_id=%s&scope=applications.commands+bot&permissions=8) to invite me!", session.State.User.ID)).MessageEmbed
response := InteractionResponse{
Type: InteractionResponseTypeChannelMessageWithSource,
Data: InteractionResponseData{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment