Guild stringed only has guild_id

This commit is contained in:
Jeremy Zhang 2018-11-11 04:28:29 +00:00
parent 825016bc52
commit 2df9300aa5

View File

@ -33,7 +33,7 @@ class Guilds(db.Model):
self.mentions_limit = -1 # -1 = unlimited mentions self.mentions_limit = -1 # -1 = unlimited mentions
def __repr__(self): def __repr__(self):
return '<Guilds {0} {1}>'.format(self.id, self.guild_id) return '<Guilds {0}>'.format(self.guild_id)
def set_unauthUsersBool(self, value): def set_unauthUsersBool(self, value):
self.unauth_users = value self.unauth_users = value