diff --git a/davtelepot/administration_tools.py b/davtelepot/administration_tools.py index b4e40e6..508d259 100644 --- a/davtelepot/administration_tools.py +++ b/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