How can I get my console NOT to automatically update my packages whenever it wants?
I have a Discord Bot running on Replit which I know is not the best idea but it's really the only option that I have currently. So whenever Replit isnt open on my PC, sometimes it just randomly wants to update my bots packages. I don't want this to happen because it also has to restart the bot as well. This has getting me banned from Discord's API 2 times. Is there a way that I can disable this? Thanks!
no
that's not the correct diagnosis
the reason why you were ratelimited was probably caused by some other bot, because there many repls share the same container (citation needed)
also replit does delete the packages from time to time, it is correlated with your repl going down, so make sure to turn always-on for it, and boost for it as well so you have less interference.
hey
@Coder100i actually dont know how to ask questions on replit.
so my doubt is that i am using pycord to run a discord bot on replit using python
And pycord(python) has its name as import discord
and not import pycord
to make it convenient but replit thinks i am using discord.py and install discord.py y1.7.3 version. is there a way to completely stop it from auto installing discord.py by changing the packager files?
This is a long topic so I will direct you to the docs.
First, see the installing packages docs on replit. Here, make any changes with the
pyproject.toml
file.Then configure the run button in the way you want.
[packager] ignoredPackages=["discord"]
Nope, try changing your
@ColeTMK.toml
file. Maybe this bit of code and alter the version of discord if that is what you want to do: