Queer European MD passionate about IT
浏览代码

Allow user-defined reply keyboard button

Davte 5 年之前
父节点
当前提交
ffb7d1617c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ciclopibot/ciclopi.py

+ 1 - 1
ciclopibot/ciclopi.py

@@ -1501,7 +1501,7 @@ def init(bot, ciclopi_messages=None):
         ciclopi_messages = default_ciclopi_messages
 
     @bot.command(command='/ciclopi', aliases=["CicloPi 🚲", "🚲 CicloPi 🔴"],
-                 reply_keyboard_button=default_ciclopi_messages[
+                 reply_keyboard_button=ciclopi_messages[
                     'ciclopi_command']['reply_keyboard_button'],
                  show_in_keyboard=True,
                  description=(