Skip to content

Commit 634897c

Browse files
Erik ChanErik Chan
authored andcommitted
update
1 parent 51bd861 commit 634897c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

dbl/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ async def vote_handler(request):
442442
event_name = 'dbl_vote'
443443
elif data.get('type') == 'test':
444444
event_name = 'dbl_test'
445+
elif isinstance(data.get('id'), str):
446+
event_name = 'dbl_vote'
445447
else:
446448
return
447449
self.bot.dispatch(event_name, data)

0 commit comments

Comments
 (0)