Queer European MD passionate about IT
Эх сурвалжийг харах

Button decorator signature changed

Davte 5 жил өмнө
parent
commit
9f26352728

+ 1 - 1
davtelepot/administration_tools.py

@@ -538,7 +538,7 @@ def init(bot):
     async def talk_command(update):
         return await _talk_command(update, bot)
 
-    @bot.button(data='talk:///', authorization_level='admin')
+    @bot.button(prefix='talk:///', authorization_level='admin')
     async def talk_button(update):
         return await _talk_button(update, bot)
     return