I have this command that deletes x amount of messages sent by a bot in the last 50 messages. The code for it was something along the lines of this (I already deleted it to try