mirror of https://gitlab.com/litecord/litecord.git
litecord.storage: add hardcodes for guild.max_{presences, members}
This commit is contained in:
parent
40571fe1d1
commit
306444061d
|
|
@ -185,6 +185,13 @@ class Storage:
|
||||||
|
|
||||||
drow['vanity_url_code'] = await self.vanity_invite(guild_id)
|
drow['vanity_url_code'] = await self.vanity_invite(guild_id)
|
||||||
|
|
||||||
|
# hardcoding these since:
|
||||||
|
# - we aren't discord
|
||||||
|
# - the limit for guilds is unknown and heavily dependant on the
|
||||||
|
# hardware
|
||||||
|
drow['max_presences'] = 1000
|
||||||
|
drow['max_members'] = 1000
|
||||||
|
|
||||||
return drow
|
return drow
|
||||||
|
|
||||||
async def _member_basic(self, guild_id: int, member_id: int):
|
async def _member_basic(self, guild_id: int, member_id: int):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue