Skip to content

Commit

Permalink
Update event (await is required here :D)
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek committed Sep 11, 2024
1 parent 020c64c commit e8c147a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/guildCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
async execute(server, client) {
if (!server.available) return;

const owner = client.users.fetch(server.ownerId);
const owner = await client.users.fetch(server.ownerId);
owner.send({ embeds: [new EmbedBuilder()
.setColor('#6EADD1')
.setAuthor({ name: 'Thank you! 💗', iconURL: server.iconURL() })
Expand Down

0 comments on commit e8c147a

Please sign in to comment.