Put each CN- command constant on it's own line

This will help with merges that add/remove commands.
This commit is contained in:
Zorchenhimer 2019-03-28 16:21:23 -04:00
parent a8ee9db3b8
commit d12434502e
1 changed files with 22 additions and 3 deletions

View File

@ -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 {