Fix webhook bug
This commit is contained in:
parent
7faddb87a5
commit
2722d623af
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user