Skip to content

Instantly share code, notes, and snippets.

View daviddanielng's full-sized avatar
✍️
Writing lines

Daniel Enubiaka daviddanielng

✍️
Writing lines
View GitHub Profile
def start():
# application = ApplicationBuilder().token()
conf = Conf("/workspaces/MAS-Oasis/bot/confg.json")
application = ApplicationBuilder().token(conf.get_settings("token")).build()
application.add_handler(CommandHandler(
"support", how_to_support))
application.add_handler(CommandHandler(
"start", listen_for_start, filters=filters.ChatType.SUPERGROUP))