tabs
This commit is contained in:
parent
73cdb8a247
commit
d33299f35b
14
commands.go
14
commands.go
|
@ -97,13 +97,13 @@ func parseCommand(user *gumble.User, username, command string) {
|
||||||
} else {
|
} else {
|
||||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||||
}
|
}
|
||||||
// JoinMe command
|
// JoinMe command
|
||||||
case dj.conf.Aliases.JoinMeAlias:
|
case dj.conf.Aliases.JoinMeAlias:
|
||||||
if dj.HasPermission(username, dj.conf.Permissions.AdminJoinMe) {
|
if dj.HasPermission(username, dj.conf.Permissions.AdminJoinMe) {
|
||||||
joinMe(user)
|
joinMe(user)
|
||||||
} else {
|
} else {
|
||||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||||
}
|
}
|
||||||
// Reload command
|
// Reload command
|
||||||
case dj.conf.Aliases.ReloadAlias:
|
case dj.conf.Aliases.ReloadAlias:
|
||||||
if dj.HasPermission(username, dj.conf.Permissions.AdminReload) {
|
if dj.HasPermission(username, dj.conf.Permissions.AdminReload) {
|
||||||
|
|
Reference in a new issue