My Discord Bot is acting weird

I created a bot to clean up my old servers that became inactive by deleting all my channels and banning everyone with a single command. Now the code works perfectly because when I added my bot to my first server, the command worked with no complications.

But I added it to my second server and the command mysteriously no longer works. It does have admin settings and permissions enabled in both servers because I triple-checked.

As if this weren’t already weird enough, I deleted the bot and created 2 new test servers and recreated the bot and used the new token for my same code.
Once again, the bot’s command works for the first server, but does nothing in the 2nd one.

I have to question whether the problem is with my Discord Developer Portal every-time I make a new invite. What are your guys’ thoughts?

Can you share your repl link?