From d12434502e3a8ccb422bea9ee5c0254684138917 Mon Sep 17 00:00:00 2001 From: Zorchenhimer Date: Thu, 28 Mar 2019 16:21:23 -0400 Subject: [PATCH] Put each CN- command constant on it's own line This will help with merges that add/remove commands. --- common/chatcommands.go | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/common/chatcommands.go b/common/chatcommands.go index 5257a8e..e9817a6 100644 --- a/common/chatcommands.go +++ b/common/chatcommands.go @@ -39,11 +39,30 @@ var ( var ChatCommands = []ChatCommandNames{ // User - CNMe, CNHelp, CNCount, CNColor, CNWhoAmI, CNAuth, CNUsers, CNNick, + CNMe, + CNHelp, + CNCount, + CNColor, + CNWhoAmI, + CNAuth, + CNUsers, + CNNick, + // Mod - CNSv, CNPlaying, CNUnmod, CNKick, CNBan, CNUnban, CNPurge, + CNSv, + CNPlaying, + CNUnmod, + CNKick, + CNBan, + CNUnban, + CNPurge, + // Admin - CNMod, CNReloadPlayer, CNReloadEmotes, CNModpass, CNIP, + CNMod, + CNReloadPlayer, + CNReloadEmotes, + CNModpass, + CNIP, } func GetFullChatCommand(c string) string {