Update README, change bot start message to correct link

This commit is contained in:
David Daily 2019-12-13 08:08:48 -06:00
parent 63da31c09f
commit c4fae63e48
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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. # 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): def start(update, context: CallbackContext):
"""Send a message when the command /start is issued.""" """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): def help(update, context: CallbackContext):
"""Send a message when the command /help is issued.""" """Send a message when the command /help is issued."""