Skip to content

Commit

Permalink
Fix: join-leave does no longer spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Vliegenier04 committed Dec 25, 2024
1 parent 4823607 commit 5593e84
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 152 deletions.
Empty file added joindata.json
Empty file.
12 changes: 12 additions & 0 deletions src/events/mineflayer/chat/guild-log-fetch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default {
name: 'chat:guildLog',
runOnce: false,
run: async (bot, ...fullMatches) => {
console.log(`[DEBUG] A guild log event has been triggered!`);

const _fullMatch = fullMatches.filter(match => match !== undefined).join('\n');

console.log(`[DEBUG] Full Match: ${_fullMatch}`);

}
} as Event;
Loading

0 comments on commit 5593e84

Please sign in to comment.