forked from n/quotes-bot-python
Blunt tried 💀
This commit is contained in:
parent
528e1e81a1
commit
cbfdd831a7
1 changed files with 6 additions and 1 deletions
7
bot.py
7
bot.py
|
@ -71,7 +71,12 @@ async def make_choice(room, message):
|
|||
temp = False
|
||||
else:
|
||||
id = match.args()
|
||||
id = int(id[1])
|
||||
try:
|
||||
id = int(id[1])
|
||||
except ValueError:
|
||||
youTriedMessage = ("Blunt tried :skull:")
|
||||
await bot.api.send_text_message(room.room_id, youTriedMessage)
|
||||
|
||||
quoteImage = fetch.fetchQuote(id)
|
||||
quoteData = fetch.fetchQuoteData(id)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue