You can only delete max 100 messages per one purge command.
This command requires manage messages permission.
You can specify a custom count or channel. The default delete count is 100 and if you don't specify a channel, it will delete from current channel.