by op-coder482




Updates channel!

A modular Telegram Python bot running on python3 with a sqlalchemy database and an entirely themed persona to make Saitama suitable for Anime and Manga group chats.

Can be found on telegram as Mewtwo.

The Support group can be reached out to at Mewtwo bot support, where you can ask for help about Mewtwo, discover/request new features, report bugs, and stay in the loop whenever a new update is available.

How to setup/deploy.

Read these notes carefully before proceeding

  • Edit any mentions of @OnePunchSupport to your own support chat
  • Your code must be open source and a link to your fork's repository must be there in the start reply of the bot See this
  • Lastly, if you are found to run this repo without the code being open sourced or the repository link not mentioned in the bot, we will push a gban for you in our network because of being in violation of the license, you are free to be a dick and not respect the open source code (we do not mind) but we will not be having you around our chats
  • This repo does not come with technical support, so DO NOT come to us asking help about deploy/console errors
Steps to deploy on Heroku !! Up ``` Fill in all the details, Deploy! Now go to ( Replace (app-name) with your app name ) REMEMBER: Turn on worker dyno (Don't worry It's free :D) & Webhook Now send the bot /start, If it doesn't respond go to and remove webhook and port. ```


Steps to self Host!!

Setting up the bot (Read this before trying to use!):

Please make sure to use python3.6, as I cannot guarantee everything will work as expected on older Python versions! This is because markdown parsing is done by iterating through a dict, which is ordered by default in 3.6.


There are two possible ways of configuring your bot: a file, or ENV variables.

The preferred version is to use a file, as it makes it easier to see all your settings grouped together. This file should be placed in your SaitamaRobot folder, alongside the file. This is where your bot token will be loaded from, as well as your database URI (if you're using a database), and most of your other settings.

It is recommended to import sample_config and extend the Config class, as this will ensure your config contains all defaults set in the sample_config, hence making it easier to upgrade.

An example file could be:

from SaitamaRobot.sample_config import Config

class Development(Config):
    OWNER_ID = 1078841825  # your telegram ID
    OWNER_USERNAME = "SWAMI_2_0_0_5"  # your telegram username
    API_KEY = "your bot api key"  # your api key, as provided by the @botfather
    SQLALCHEMY_DATABASE_URI = 'postgresql://username:password@localhost:5432/database'  # sample db credentials
    JOIN_LOGGER = '-1234567890' # some group chat that your bot is a member of
    DRAGONS = [1107922726]  # List of id's for users which have sudo access to the bot.
    LOAD = []
    NO_LOAD = ['translation']

If you can't have a file (EG on Heroku), it is also possible to use environment variables. So just go and read the config sample file.

How to setup on Heroku

For starters click on this button



The bot is based on the original work done by PaulSonOfLars All original credits go to Paul and his dedication, Without his efforts, this fork would not have been possible!

Fork Developer --> SWAMI or SWAMI

Also, missing proper credit for blacklistusers taken from TheRealPhoenixBot (will add it later, this note says unless it is done)

Any other authorship/credits can be seen through the commits.

Should any be missing kindly let us know at Mewtwo bot support or simply submit a pull request on the readme.