The bot is currently running as @ArchCNAntiSpamBot.
To run the bot yourself, you will need:
- Python 3.8+
- The python-telegram-bot module
- Copy
config.py.example
toconfig.py
. - Get a bot token.
- Change TOKEN to the one you just got and SALT to whatever string you want inside config.py.
- You're ready to go. Install requirements with
pip3 install -r requirements.txt
and then launch the bot withpython3 bot.py
.
- Get a bot token and modify TOKEN as well as SALT inside config.py as mentioned above.
- Get the API ID and hash for your telegram user account.
- Put your api_id and hash here.
- Set USER_BOT_BACKEND to
True
. - You're ready to go. Install requirements with
pip3 install -r requirements-userbot.txt
and then launch the bot withpython3 bot.py
.