forked from david/telegram-music-bot
Update README, change bot start message to correct link
This commit is contained in:
parent
63da31c09f
commit
c4fae63e48
@ -0,0 +1,7 @@
|
||||
# Telegram Music Searcher and Linker
|
||||
|
||||
This bot searches Spotify for music, displays the top 5 results, and if available it inserts a 30 second preview. Each post includes a button to show links. When selected it searches Google Play Music and Youtube for a link to the song and puts the links to Spotify, GPM, and YT in buttons below the preview.
|
||||
|
||||
https://t.me/MusicServiceBot
|
||||
|
||||
|
2
music.py
2
music.py
@ -59,7 +59,7 @@ def ask_for_credentials():
|
||||
# Define a few command handlers. These usually take the two arguments bot and update. Error handlers also receive the raised TelegramError object in error.
|
||||
def start(update, context: CallbackContext):
|
||||
"""Send a message when the command /start is issued."""
|
||||
update.message.reply_text('Hello there!\n/help will give a short introduction to this bot.\nIts an inline bot, so you shouldn\'nt really be using it here.\nThis is a bot made by @DailytheNoob, check out the code on daviddaily.dev/python')
|
||||
update.message.reply_text('Hello there!\n/help will give a short introduction to this bot.\nIts an inline bot, so you shouldn\'nt really be using it here.\nThis is a bot made by @DailytheNoob, check out the code on daviddaily.dev/david/telegram-music-bot')
|
||||
|
||||
def help(update, context: CallbackContext):
|
||||
"""Send a message when the command /help is issued."""
|
||||
|
Loading…
Reference in New Issue
Block a user