This commit is contained in:
Aevann1 2021-07-25 04:14:52 +02:00
parent cefd63908a
commit 03ba6c5fd2
12 changed files with 6 additions and 197 deletions

View file

@ -458,18 +458,6 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
return data
def is_guildmaster(self, perm=None):
mod=self.__dict__.get('_is_guildmaster', False)
if not mod:
return False
elif not perm:
return True
else:
return mod.perm_full or mod.__dict__[f"perm_{perm}"]
return output
@property
def is_exiled_for(self):
return self.__dict__.get('_is_exiled_for', None)