From 30df20e7c8252631b220aab859dd7872bbd69f2c Mon Sep 17 00:00:00 2001 From: Matte23 Date: Fri, 29 Oct 2021 18:34:47 +0200 Subject: [PATCH] Fix warnings --- help.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/help.go b/help.go index 2757699..42011cc 100644 --- a/help.go +++ b/help.go @@ -28,27 +28,27 @@ func commandHelp(s *discordgo.Session, m *discordgo.MessageCreate) { Description: "InnkeeperBot allow users to manage custom channels", Color: 0x00ff00, Fields: []*discordgo.MessageEmbedField{ - &discordgo.MessageEmbedField{ + { Name: "!new [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 ", Value: "Delete an existing channel", }, - &discordgo.MessageEmbedField{ + { Name: "!add ", Value: "Give an user the permission to join a channel", }, - &discordgo.MessageEmbedField{ + { Name: "!rem ", Value: "Remove join permission from an user", }, - &discordgo.MessageEmbedField{ + { Name: "!op ", Value: "Give an user the permission to join, edit and delete a channel", }, - &discordgo.MessageEmbedField{ + { Name: "!deop ", Value: "Remove join/edit/delete permission from an user", },