Closed iampjeetsingh closed 3 years ago
I have been working on this, but I haven't had much time recently due to exams. In the mean time, you can use a limited version of the bot from here: https://github.com/fishy15/tle. The bot currently supports most features, but the commands related to duels and ratedvc do not work due to database issues. Once these issues are fixed, the database will likely need to be modified manually. For most other purposes, the bot works in its current state.
There is also an issue where the bot exceeds the Heroku memory limit in certain situations. This issue arises when the ratedList is queried from Codeforces since this plus the memory needed to run the bot exceeds the memory limit. Our solution to this was to host an API proxy that filters the result of the query, but due to the limitations on the bandwidth, it is better if each instance of the bot has its own proxy set up. I believe that this is not an issue if your server is small enough, so the bot should be safe to use in most servers currently. In any case, once the above repo reaches feature parity with the main TLE branch, I will include instructions on how to set up this proxy if needed.
If you have any questions about setting up the bot, you can message me on Discord on fishy15#6575.
Docker file is sufficient to deploy it.
I tried to deploy this bot on heroku, I put all the apt dependencies listed in readme into Aptfile (apt community buildpack) and poetry in requirements.txt but it gives so many errors while deploying, I extracted some of them and listed them below