The cookie has lasted about 5 months because its likely what I call a legacy cookie. I have a cookie that has been running for a year now that was made at the time and in a way the new captcha doesnt expire it.
Most brand new accounts do expire and obey the new refresh policy.
Fixed the 2 Errors, Must of missed them by Mistake, Thansk for letting me know, The code now works.and I didnt miss requiring Discord It just cut it off for some reason, (had to edit it for it to show)
(Noticed it cuts it off from the first Line my mistake, But its now sorted)
if(!message.member.roles.cache.some(role =>["Rank Commander"].includes(role.name))){
return message.channel.send("You will need the `Rank Commander` to do this.")
}
Due to a recent updated on Glitch, discord bots can no longer be hosted on Glitch unless you do you manually as they have disabled the way to ping bots on Glitch.
Another host I recommend is Github+ Heroku
Watch the video below to see how to set this up.
You could also use repl but you need to secure your files (token…etc) with a .env file. (Not suggested to use heruko) for some reason I don’t Like heruko, not for bot hosting