Put each CN- command constant on it's own line
This will help with merges that add/remove commands.
This commit is contained in:
parent
a8ee9db3b8
commit
d12434502e
|
@ -39,11 +39,30 @@ var (
|
||||||
|
|
||||||
var ChatCommands = []ChatCommandNames{
|
var ChatCommands = []ChatCommandNames{
|
||||||
// User
|
// User
|
||||||
CNMe, CNHelp, CNCount, CNColor, CNWhoAmI, CNAuth, CNUsers, CNNick,
|
CNMe,
|
||||||
|
CNHelp,
|
||||||
|
CNCount,
|
||||||
|
CNColor,
|
||||||
|
CNWhoAmI,
|
||||||
|
CNAuth,
|
||||||
|
CNUsers,
|
||||||
|
CNNick,
|
||||||
|
|
||||||
// Mod
|
// Mod
|
||||||
CNSv, CNPlaying, CNUnmod, CNKick, CNBan, CNUnban, CNPurge,
|
CNSv,
|
||||||
|
CNPlaying,
|
||||||
|
CNUnmod,
|
||||||
|
CNKick,
|
||||||
|
CNBan,
|
||||||
|
CNUnban,
|
||||||
|
CNPurge,
|
||||||
|
|
||||||
// Admin
|
// Admin
|
||||||
CNMod, CNReloadPlayer, CNReloadEmotes, CNModpass, CNIP,
|
CNMod,
|
||||||
|
CNReloadPlayer,
|
||||||
|
CNReloadEmotes,
|
||||||
|
CNModpass,
|
||||||
|
CNIP,
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetFullChatCommand(c string) string {
|
func GetFullChatCommand(c string) string {
|
||||||
|
|
Loading…
Reference in New Issue