Skip to content

Commit 30cb95a

Browse files
committed
🐛 Fix paypal notifications
1 parent 7bdd4f2 commit 30cb95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/ipc-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports.load = (discordClient) => {
8787
const { premiumLogs } = discordClient.config;
8888
const aLogs = discordClient.channels.cache.get(premiumLogs);
8989
if (!aLogs) return console.log(`Shard #${discordClient.shard.ids[0]}: PayPal Notif, channel logs can not be found`);
90-
const user = discordClient.users.fetch(message.data.userID).catch(() => {});
90+
const user = await discordClient.users.fetch(message.data.userID).catch(() => {});
9191
if (!user) return console.log(`Shard #${discordClient.shard.ids[0]}: PayPal Notif, user can not be found ${message.data.userID}`);
9292
switch (message.data.notificationType) {
9393
case "verification": {

0 commit comments

Comments
 (0)