Skip to content
Snippets Groups Projects
Commit 67d222c1 authored by Gianluca OBERREIT's avatar Gianluca OBERREIT
Browse files

Change entry point from bar to committee name

parent c983c906
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ class Committee:
]
}, **(extra_states if extra_states else {})}
self.handler = ConversationHandler(
entry_points=[CommandHandler("bar", self.intro)],
entry_points=[CommandHandler(self.info["code"], self.intro)],
states=self.states,
fallbacks=[MessageHandler(filters.TEXT, self.intro)],
map_to_parent={
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment