Add shutdown and panic notifications and admin only commands

This commit is contained in:
2025-05-28 15:42:30 +02:00
parent 5df5dde506
commit 3ab37d88f4
3 changed files with 86 additions and 0 deletions

12
commands/admin.go Normal file
View File

@ -0,0 +1,12 @@
package commands
var AdminIDs = []int64{126131628}
func IsAdmin(userID int64) bool {
for _, id := range AdminIDs {
if id == userID {
return true
}
}
return false
}