/Ohto-Ai

An Anime themed telegram vc music player, Do watch Wonder eggs priority btw kek!

Primary LanguagePython

Ohto Ai Plays

ohto-ai-kawaaii-pic

An awesome, deployable, simple, non spammy, auth-system enabled, multi-chat music bot!


Requirements 📝

  • API_ID : API_ID as from telegram apps.
  • API_HASH : API_HASH as from telegram apps.
  • SESSION_NAME : Make a string session of the alternate account that will be used by the bot to play music, (this account will not be able to hear music) here.
  • BOT_TOKEN : Make a Bot from @Botfather and fill it's bot token.
  • BOT_USERNAME : Your bot username, to help create handlers.
  • OWNER_ID : Needed sometimes, so fill it.
  • START_PIC : The pic displayed when a person starts your bot, use telegraph for it.
  • PLAY_PIC : The pic to show playing message and stop message.
  • SUDO_USERS : Fill the userids of the users who will have full control over bot at any group, with spaces between them (dont forget to add your own id kek!).
  • PROXY: A proxy to use for youtube-dl, if you dont know, leave it.

Deploy to railways:

I recommend deploying on railways, because it lags relatively less than heroku (almost lagless)

Steps to Deploy on Railway
  1. Fork This Repo, to your github account
  2. Create an account at Railway
  3. Create an app at railway with a postgresql addon
  4. Gather all the requirements mentioned above in the following manner in your notes app, and then after finishing copy the whole thing to your clipboard
  5. Go to railway, to the app you created, and then go to the tab variables
  6. Click on bulk import, a dialogue box would open up, now paste the whole copied vars that we copied in step 4
  7. Now go to the Deployment tab and then connect your github
  8. After connecting your github, connect the forked repo that you forked from me
  9. Now deploy it, wait until it comes online and enjoy lagless music!

Deploy to Heroku:

Deploy


Credits