XkshaT7678 / Force2Subscribe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Force Subscribe Bot

Forces a user to join your group/channel so as to be able to message in a group.

Features

[-] Checks for all newly joined members with a customisable welcome message.
[-] Checks for users who are already in the group but has not joined the channel.

Deploy to heroku

Deploy

Variables

  • API_ID - Your telegram api id from my.telegram.org
  • API_HASH - Your telegram api hash from my.telegram.org
  • BOT_TOKEN - Your telegram bot token.
  • CHANNEL - Username of the channel/group where users must join.
  • WELCOME_MSG - The welcome message you want. WELCOME_NOT_JOINED - Welcome message to show if user is not in the channel.
  • ON_JOIN - True/False - Set as True if the user must be muted, if not in Channel/group, directly when he joins.
  • ON_NEW_MSG - True/False - Set as True if the user must be muted, if not in Channel/group, on sending a message.

Note: WELCOME_MSG and WELCOME_NOT_JOINED can both be formatted using parameters like {mention}, {title}, {fullname}, {username}, {name}, {last}, {channel}

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%