All Projects → Poolitzer → spotify_telegram_bio_updater

Poolitzer / spotify_telegram_bio_updater

Licence: other
This userbot updates the biography of a telegram user according to their current spotify playback.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to spotify telegram bio updater

opentele
A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.
Stars: ✭ 90 (+328.57%)
Mutual labels:  telegram-userbot, telethon
UniBorg
Pluggable Telegram bot and userbot based on Telethon
Stars: ✭ 196 (+833.33%)
Mutual labels:  telegram-userbot, telethon
DevelopersUserbot
Telegram Userbot Made for Developers by Developers
Stars: ✭ 25 (+19.05%)
Mutual labels:  telegram-userbot, telethon
tgcf
The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
Stars: ✭ 378 (+1700%)
Mutual labels:  telegram-userbot, telethon
Spotify-Telegram-Bio-Updater
Spotify Telegram Bio Updater Heroku Integration
Stars: ✭ 26 (+23.81%)
Mutual labels:  telegram-userbot, telethon
StringSessionBot
Pyrogram and Telethon String Session Generator
Stars: ✭ 63 (+200%)
Mutual labels:  telethon
wikibot
A 🤖 which provides features from Wikipedia like summary, title searches, location API etc.
Stars: ✭ 25 (+19.05%)
Mutual labels:  telegram-userbot
AsenaUserBot
Asena UserBot is the most advantageous and fast UserBot with changeable language and permanent plugin system.
Stars: ✭ 133 (+533.33%)
Mutual labels:  telegram-userbot
MashaRoBot
MashaRoBot : 📑Editor's choice
Stars: ✭ 39 (+85.71%)
Mutual labels:  telethon
tdlight-java
Complete Bot and Userbot Telegram library based on TDLib
Stars: ✭ 128 (+509.52%)
Mutual labels:  telegram-userbot
Nana-Bot
Telegram Modular Userbot using python3.7
Stars: ✭ 38 (+80.95%)
Mutual labels:  telegram-userbot
tgmount
Mount Telegram dialogs and channels as a Virtual File System.
Stars: ✭ 52 (+147.62%)
Mutual labels:  telethon
SophiaBot
Hi There ✋ I'M Sophia 3.0 ❤️ NEW VERSION OF SOPHIA.. Source Code of @SophiaSLBot.
Stars: ✭ 44 (+109.52%)
Mutual labels:  telethon
One4uBot
Telegram Userbot Project to helping your Telegram experience based on PaperplaneExtended - Our Support https://t.me/userbotindo,
Stars: ✭ 51 (+142.86%)
Mutual labels:  telethon
Fire-X
Powerful Telegram Maintained UserBot in Telethon
Stars: ✭ 22 (+4.76%)
Mutual labels:  telethon
AntiDeletedAccountsBot
Automatically kick deleted accounts
Stars: ✭ 36 (+71.43%)
Mutual labels:  telethon
tgcalls
Voice chats, private incoming and outgoing calls in Telegram for Developers
Stars: ✭ 408 (+1842.86%)
Mutual labels:  telethon
ZeldrisRobot
An anime themed group management bot, running on python with telethon and ptb.
Stars: ✭ 41 (+95.24%)
Mutual labels:  telethon
SpamBot
First Spam Bot repo ever made for telegram bots. Powerful spambot for telegram made with python and telethon.
Stars: ✭ 67 (+219.05%)
Mutual labels:  telethon
telegram
A Matrix-Telegram hybrid puppeting/relaybot bridge
Stars: ✭ 914 (+4252.38%)
Mutual labels:  telethon

spotify_telegram_bio_updater

This userbot updates the biography of a telegram user according to their current spotify playback. If no playback is active, the bot changes the bio back to the original one from the user.

Setup

This script will do an interactive setup the first time you run bot.py. If you want to do it by yourself, you can follow the steps below, but that isn't necessary anymore.

Just remember to run pip install -r requirements.txt.

Depreciated manual steps:

  1. Ensure you have python 3.6+ installed and then run pip install -r requirements.txt.
  2. Get your spotify client_id and your client_secret from https://developer.spotify.com/dashboard/. If you need more help, have a look here. Set a Rediret URI to http://localhost:1234/callback
  3. Get your telegram app api_id and api_hash from https://my.telegram.org/. If you need more help, have a look here.
  4. If you want to have a log channel or group or so, paste its invite link or id in the LOG variable. If you leave it at "me", you will see those in your saved chat. Only if errors occur ofc ;)
  5. Paste all these values in their respective variables at constants.py. While you are at it, you can also paste an initial biography there. Just take your current one. This is highly recommended. If you don't do this and have a currently playing track, the bot has at its first start no idea what your original biography is. Just do it, please.
  6. You are going to generate a token here which is only valid for a short amount of time, so be sure to run generate.py quickly after this. Open the following link (change CLIENT_ID to you client_id): https://accounts.spotify.com/authorize?client_id=CLIENT_ID&response_type=code&redirect_uri=http://localhost:1234/callback&scope=user-read-playback-state%20user-read-currently-playing
  7. After you grant permission, you get redirected to https://example.com/callback?code=_. Copy everything after the code, this is you initial token.
  8. Now you can run generate.py. This will generate a json file named database.
  9. You are almost done. If you now run bot.py, all you need to do is log into your telegram account. Follow the instructions on screen.
  10. Now you are really done.

Important Information

You can shut the bot down if you want/need to. Write //stop anywhere you want. If you want to change the command, edit SHUTDOWN_COMMAND in the constants.

Warning

This bot uses the emoji 🎶 to determine if the current bio is an active spotify biography or not. This means you mustn't use this emoji on your original biographies or the bot will probably break. Don't do it, thanks.

But I want to

Great news. Just change the KEY variable in constants file. Don't ever use your new KEY in your biographies though!

Issues? Need help? Want to tell me something?

Well, just create an issue here. You can also ping me on telegram.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].