Fix warnings

This commit is contained in:
Matte23
2021-10-29 18:34:47 +02:00
parent 10f13402d4
commit 30df20e7c8

12
help.go
View File

@@ -28,27 +28,27 @@ func commandHelp(s *discordgo.Session, m *discordgo.MessageCreate) {
Description: "InnkeeperBot allow users to manage custom channels", Description: "InnkeeperBot allow users to manage custom channels",
Color: 0x00ff00, Color: 0x00ff00,
Fields: []*discordgo.MessageEmbedField{ Fields: []*discordgo.MessageEmbedField{
&discordgo.MessageEmbedField{ {
Name: "!new <channel> [private]", Name: "!new <channel> [private]",
Value: "Create a new channel. Add the \"private\" keyword at the end of the command to make that channel private", Value: "Create a new channel. Add the \"private\" keyword at the end of the command to make that channel private",
}, },
&discordgo.MessageEmbedField{ {
Name: "!del <channel>", Name: "!del <channel>",
Value: "Delete an existing channel", Value: "Delete an existing channel",
}, },
&discordgo.MessageEmbedField{ {
Name: "!add <channel> <user>", Name: "!add <channel> <user>",
Value: "Give an user the permission to join a channel", Value: "Give an user the permission to join a channel",
}, },
&discordgo.MessageEmbedField{ {
Name: "!rem <channel> <user>", Name: "!rem <channel> <user>",
Value: "Remove join permission from an user", Value: "Remove join permission from an user",
}, },
&discordgo.MessageEmbedField{ {
Name: "!op <channel> <user>", Name: "!op <channel> <user>",
Value: "Give an user the permission to join, edit and delete a channel", Value: "Give an user the permission to join, edit and delete a channel",
}, },
&discordgo.MessageEmbedField{ {
Name: "!deop <channel> <user>", Name: "!deop <channel> <user>",
Value: "Remove join/edit/delete permission from an user", Value: "Remove join/edit/delete permission from an user",
}, },