fix: init msg variable
This commit is contained in:
parent
d7ca534714
commit
cf46f5dc17
@ -4,6 +4,7 @@
|
|||||||
import aiohttp
|
import aiohttp
|
||||||
|
|
||||||
action = (params_kw or {}).get('action', 'send_message')
|
action = (params_kw or {}).get('action', 'send_message')
|
||||||
|
msg = ''
|
||||||
if action != 'send_message':
|
if action != 'send_message':
|
||||||
p = params_kw or {}
|
p = params_kw or {}
|
||||||
msg = (p.get('message_text') or '').strip()
|
msg = (p.get('message_text') or '').strip()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user