mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-05 00:40:38 +01:00
fix: only react to people joining skilled clan
This commit is contained in:
1 parent
48241bd0d4
commit
4fe4d93fb0
1 file changed
+4
-2
@@ -3,8 +3,7 @@ import discord from '../../discord.json' assert { type: 'json' };
|
|||||||
import { SKILLED_COLOR } from '../constants/colors.js';
|
import { SKILLED_COLOR } from '../constants/colors.js';
|
||||||
|
|
||||||
export default async function (member: GuildMember) {
|
export default async function (member: GuildMember) {
|
||||||
console.log(`${member.user.tag} joined`);
|
if (member.guild.id === discord.guild_id) {
|
||||||
|
|
||||||
await (
|
await (
|
||||||
member.guild.channels.cache.get(discord.verify_channel) as TextChannel
|
member.guild.channels.cache.get(discord.verify_channel) as TextChannel
|
||||||
).send({
|
).send({
|
||||||
@@ -18,4 +17,7 @@ export default async function (member: GuildMember) {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log(`${member.user.tag} joined`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user