Yes, you should be an admin or owner of the server in order to delete all messages in Discord. It is because only Admins and Owners can add bots to a Discord server. If you are a member of the server, then you have no option to delete messages on Discord