AyushSehrawat/eco-bot

The async def shop does not work anymore

tongt-droid opened this issue · 7 comments

The async def shop does not work anymore

Can you send the error ?

So when I ran the bot, I typed lshop in discord, but it did not reply with anything and when I looked at my kernel, there was no error. I think the problem has something to do with for item in mainshop since discord.embed still works. Sorry for replying so late since I have class :).

By the way, l is my prefix

So when I ran the bot, I typed lshop in discord, but it did not reply with anything and when I looked at my kernel, there was no error. I think the problem has something to do with for item in mainshop since discord.embed still works. Sorry for replying so late since I have class :).

Remove the try and except and send the error :)

So when I ran the bot, I typed lshop in discord, but it did not reply with anything and when I looked at my kernel, there was no error. I think the problem has something to do with for item in mainshop since discord.embed still works. Sorry for replying so late since I have class :).

Remove the try and except and send the error :)

May you please elaborate more on try and except because I don't know what you mean. I am pretty new to Python so I am sorry.

Just an update, I did it another way and it worked, but I think the reason it didn't work for me is that I may have typed the description wrong for the for loop which is really embarrassing haha.

Haha , np :)