if i make task.loop for my cog and then stop/delete this cog It still continues to be updated
And if I reload the cog, it starts task.loop 2 times
Because of this, my cog is updated about 2 times per second after I have restarted many times, as well as a very strong spam in the console about rate limits, as a result, I can't stop it in any way because I'm not at home and if I turn off the bot, I won't be able to turn it back on
any ideas how i cab make thing in my command when i restart/delete cog it stops current task.loop?