I made a discord bot that reads a specific channel and checks if the users are typing in a specific sintax. If the user doesn’t type using the proper syntax the bot is supposed to delete the message.
The bot is not supposed to delete messages that start with the prefixes “!,- and ~” or messages from bots.
The bot successfully deletes the improper messages but also deletes the proper messages. How can I fix this?
