Merge branch '64-fix-expected-to-return-a-value-at-the-end-of-async-arrow-function-issue-in-srccommandscreditsaddonsgiftjs' of https://github.com/VermiumSifell/xyter into 64-fix-expected-to-return-a-value-at-the-end-of-async-arrow-function-issue-in-srccommandscreditsaddonsgiftjs
This commit is contained in:
commit
e50447fbf1
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