Fix webhook bug

This commit is contained in:
lxbpxylps@126.com 2021-10-05 00:11:51 +08:00
parent 7faddb87a5
commit 2722d623af

View File

@ -46,7 +46,7 @@ class Webhook:
if data['data']['type'] not in self.allow_event_list: if data['data']['type'] not in self.allow_event_list:
logger.log('WEBHOOK', f'Webhook for this event is disabled.') logger.log('WEBHOOK', f'Webhook for this event is disabled.')
return continue
try: try:
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session: