Closed JoshPaulie closed 3 years ago
@JoshPaulie Looks like the code that you're running on the discord bot is pulling data for multiple coins at once and the code on your iPad is looping through a list of coins. Can you try running the exact same code on your iPad to see if it works there?
@TaylorFacen You were exactly right. Sorry for the bother, thanks for the help. Good wrapper
Function from my discord bot
Hey there! So I got my script to work on my iPad, but when I tried to implement the functions into my discord bot, I don't get any data returned. The following code is run from my discord bot on a windows machine.
which returns
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: IndexError: list index out of range
because the
coin_data
list is returned[]
The code that works well, from my iPad
Any ideas? Please let me know how I can give you more detail if needed.
Project libraries