Use official d.py rewrite

This commit is contained in:
Jeremy Zhang 2018-09-15 23:34:47 +00:00
parent d868503399
commit 228ba7bbad
2 changed files with 4 additions and 5 deletions

View File

@ -185,8 +185,8 @@ class Titan(discord.AutoShardedClient):
await self.redisqueue.update_guild(guild) await self.redisqueue.update_guild(guild)
await self.socketio.on_guild_emojis_update(after) await self.socketio.on_guild_emojis_update(after)
async def on_webhooks_update(self, guild, channel): async def on_webhooks_update(self, channel):
await self.redisqueue.update_guild(guild) await self.redisqueue.update_guild(channel.guild)
async def on_raw_message_edit(self, payload): async def on_raw_message_edit(self, payload):
message_id = payload.message_id message_id = payload.message_id

View File

@ -5,7 +5,7 @@ requests_oauthlib
Flask-SSLify Flask-SSLify
flask_socketio flask_socketio
paypalrestsdk paypalrestsdk
git+https://github.com/TitanEmbeds/discord.py@rewrite#egg=discord.py git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py
asyncio_extras asyncio_extras
kombu kombu
redis redis
@ -13,7 +13,6 @@ aioredis
Flask-Babel Flask-Babel
patreon patreon
flask-redis flask-redis
gino sqlalchemy
sqlalchemy==1.2.10
asyncio_redis asyncio_redis
raven[flask] raven[flask]