Compare commits
No commits in common. "main" and "v0.1" have entirely different histories.
@ -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.')
|
||||||
continue
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user