knrd1 / chatgpt

ChatGPT IRC bot
https://github.com/knrd1/chatgpt
MIT License
33 stars 7 forks source link

remove extra variable #13

Closed JasiuBEL closed 1 year ago

JasiuBEL commented 1 year ago

Lines 150 and 151:

answers = response.data[0].url 
long_url = answers

No need for extra variable, just use:

long_url = response.data[0].url
knrd1 commented 1 year ago

Fixed with today's release.