add_group, add_Channel process modification
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
8
main.py
8
main.py
@@ -65,8 +65,8 @@ async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||
await update.message.reply_text(help_text, parse_mode='HTML')
|
||||
|
||||
# Импорт обработчиков
|
||||
from handlers.add_channel import add_channel
|
||||
from handlers.add_group import add_group
|
||||
from handlers.add_channel import add_channel_conv
|
||||
from handlers.add_group import add_group_conv
|
||||
from handlers.add_button import add_button_conv
|
||||
from handlers.new_post import new_post_conv
|
||||
from handlers.group_buttons import group_buttons_conv
|
||||
@@ -84,8 +84,8 @@ def main():
|
||||
application = Application.builder().token(TELEGRAM_TOKEN).build()
|
||||
application.add_handler(CommandHandler('start', start))
|
||||
application.add_handler(CommandHandler('help', help_command))
|
||||
application.add_handler(CommandHandler('add_channel', add_channel))
|
||||
application.add_handler(CommandHandler('add_group', add_group))
|
||||
application.add_handler(add_channel_conv)
|
||||
application.add_handler(add_group_conv)
|
||||
application.add_handler(add_button_conv)
|
||||
application.add_handler(new_post_conv)
|
||||
application.add_handler(group_buttons_conv)
|
||||
|
||||
Reference in New Issue
Block a user