🩹 Fixed issue #135
This commit is contained in:
parent
b104b1bb0f
commit
3c389abf0c
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ module.exports = async (interaction) => {
|
|||
const { guild } = member;
|
||||
|
||||
const guildDB = await guilds.findOne({ guildId: guild.id });
|
||||
const userDB = await users.findOne({ userId: member.id, guildId: guild.id });
|
||||
|
||||
guild.roles
|
||||
.create({
|
||||
|
|
Loading…
Add table
Reference in a new issue