@ -19,7 +19,7 @@ client.on("message", message => {
});
async function bulkDelete(message) {
if (!message.member.permissions.toArray().has('ADMINISTRATOR')) {
if (!message.member.hasPermission('ADMINISTRATOR')) {
message.reply("you do not have permissions!");
return;
}