This commit is contained in:
cdle
2021-09-16 10:39:34 +08:00
parent 3902741ada
commit 221ef5199f
2 changed files with 1 additions and 6 deletions
+1
View File
@@ -114,6 +114,7 @@ func (sender *Sender) Get(index ...int) string {
}
func (sender *Sender) IsAdmin() bool {
return strings.Contains(tg.Get("masters"), fmt.Sprint(sender.Message.Sender.ID))
}