make me and sneks mod all holes

pull/2/head
Aevann1 2022-11-19 20:24:02 +02:00
parent 4cb8508dea
commit 9e457165fa
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@ class User(Base):
@lazy
def mods(self, sub):
if self.is_suspended_permanently or self.shadowbanned: return False
if self.id in (AEVANN_ID, SNAKES_ID): return True
try:
return any(map(lambda x: x.sub == sub, self.sub_mods))
except: