Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit d1c8b69

Browse files
authored
fix: gain xp only in hubs (#229)
1 parent c1e9870 commit d1c8b69

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/events/messageCreate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,5 @@ export default class MessageCreate extends BaseEventListener<'messageCreate'> {
6767

6868
private async handleChatMessage(message: Message<true>) {
6969
await this.messageProcessor.processHubMessage(message);
70-
await message.client.userLevels.handleMessage(message);
7170
}
7271
}

src/services/MessageProcessor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ export class MessageProcessor {
5757
connection,
5858
attachmentURL,
5959
);
60+
await message.client.userLevels.handleMessage(message);
6061
}
6162
}

0 commit comments

Comments
 (0)