From 460f1d6c013046a552f39b1b3476fabbb43307a7 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Mon, 31 Jan 2022 20:09:32 +0500 Subject: [PATCH] fix --- events/guildMemberAdd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index e9164219..1072420d 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -43,7 +43,7 @@ module.exports = class { } // Check if the autorole is enabled - if (guildData.plugins.autorole.enabled) member.roles.add(guildData.plugins.autorole.role).catch(() => {}); + if (guildData.plugins.autorole.enabled) member.roles.add(guildData.plugins.autorole.role); // Check if welcome message is enabled if (guildData.plugins.welcome.enabled) {