webhooks: fix typo on get_webhook's sql

This commit is contained in:
Luna 2019-03-18 04:57:09 -03:00
parent e8c158da81
commit 379bd75424
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ async def get_webhook(webhook_id: int, *,
secure: bool=True) -> Optional[Dict[str, Any]]:
"""Get a webhook data"""
row = await app.db.fetchrow("""
SELECT id::text, guild_id::text, channel_id::text, creator_id
SELECT id::text, guild_id::text, channel_id::text, creator_id,
name, avatar, token
FROM webhooks
WHERE id = $1