storage: expose banner and description on invites

This commit is contained in:
Luna 2019-03-15 04:32:02 -03:00
parent b6e21a2501
commit 5bfafa2a29
1 changed files with 2 additions and 1 deletions

View File

@ -919,7 +919,8 @@ class Storage:
# fetch some guild info
guild = await self.db.fetchrow("""
SELECT id::text, name, splash, icon, verification_level
SELECT id::text, name, icon, splash, banner, features,
verification_level, description
FROM guilds
WHERE id = $1
""", invite['guild_id'])