Open silverr909 opened 2 years ago
Sorry, only got around to looking at this now as I was quite busy the last week or so, but thanks for bringing this to my attention.
From testing it myself, the code currently seems to have two problems:
$top
, although it still works if you do it yourself.I'm not sure how long it'll take to fix the second problem, but for now if you want to use it manually you can switch to the bugfix branch and run the bot from there.
Hi thank you so much for the bugfix. When I try to run the bot.py it gave a bunch of "Task exception" I use Spyder 3.9 and the newest version for all of the modules required. Do you happen to know what caused this? By running it manually, what do you mean haha I just assumed I need to go and rerun the bot.py file every time I want to update the top 1000 csv, is that right?
The exception you are getting seems to have to do with the second thing I mentioned, Discord probably renamed many elements from their site, which is why this program currently can't correctly send messages by itself.
With manually, I mean that you need to enter $top yourself after starting the bot, as capturing Mudae's output only relies on logging with the provided bot token.
Normally you could just run the file once and it would automatically go through all pages of $top by itself every 72 hours (or whatever you configured in config.py), but because of the issues I mentioned, that's currently not the case, so unfortunately you'll have to wait until I get that fixed.
Ooooh I see. Upon trying manually as you say, it appears I need to manually type the page name as well for the bot to copy (e.g. $top only copies page 1, if i want the bot to continue with page 2 i need to type $top $2 and so on). But other than that the bot is working fine with no other error. Thank you for your help, I will be waiting patiently for that fix (hopefully it is possible to fix).
Hi, will you be able to recheck the codes? There seems to be some updates in python and the modules which cause errors. I tried to make some adjustments but the bot still did not run and only genereated a blank csv (I use Windows 10 by the way)