Skip to content

Commit 63269ac

Browse files
author
wimo7083
committed
make async
1 parent c86730f commit 63269ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybot/endpoints/slack/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def not_bot_delete(event: Message):
2828
return 'previous_message' not in event or 'bot_id' not in event['previous_message']
2929

3030

31-
def advertise_pybot(event: Message, app: SirBot):
31+
async def advertise_pybot(event: Message, app: SirBot):
3232
BOT_URL = 'https://github.com/OperationCode/operationcode-pybot'
3333
response = {'channel': event['channel'],
3434
'text': f'OC-Community-Bot is a communit led project to assist operation code.'

0 commit comments

Comments
 (0)