Skip to content

Commit d5a4735

Browse files
committed
Fix ParseMode import path in help command
1 parent 103b54c commit d5a4735

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mariusz/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def help(self, update):
283283
for reaction, function in self.reactions.items():
284284
description = function.__doc__ or function.__name__
285285
msg += f"{reaction.pattern} => {description}\n"
286-
update.message.reply_text(msg, parse_mode=telegram.ParseMode.MARKDOWN)
286+
update.message.reply_text(msg, parse_mode=telegram.constants.ParseMode.MARKDOWN)
287287

288288
def prepare_meetup_message(self):
289289
try:

0 commit comments

Comments
 (0)