go fmt
This commit is contained in:
parent
61214ca405
commit
b7c01addcf
@ -13,7 +13,9 @@ var assets = map[string]string {
|
||||
}
|
||||
|
||||
func handlePanel(bc BotController, user User) {
|
||||
if !user.IsAdmin() {return}
|
||||
if !user.IsAdmin() {
|
||||
return
|
||||
}
|
||||
if !user.IsEffectiveAdmin() {
|
||||
bc.db.Model(&user).Update("RoleBitmask", user.RoleBitmask|0b10)
|
||||
sendMessage(bc, user.ID, "You was in usermode, turned back to admin mode...")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user