🥅 guild is null
This commit is contained in:
parent
ecb28109a1
commit
e3cc352fc2
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export default async (client: Client) => {
|
||||||
guildId: shopRole.guildId,
|
guildId: shopRole.guildId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (guild === null) return;
|
||||||
const userDB = await users.findOne({
|
const userDB = await users.findOne({
|
||||||
userId: shopRole.userId,
|
userId: shopRole.userId,
|
||||||
guildId: shopRole.guildId,
|
guildId: shopRole.guildId,
|
||||||
|
|
Loading…
Add table
Reference in a new issue