generated from nhcarrigan/template
feat: start message
This commit is contained in:
parent
0b92c53da4
commit
085c192676
@ -1,9 +1,4 @@
|
||||
import {
|
||||
ChannelType,
|
||||
Message,
|
||||
PermissionFlagsBits,
|
||||
TextChannel,
|
||||
} from "discord.js";
|
||||
import { ChannelType, Message, PermissionFlagsBits } from "discord.js";
|
||||
|
||||
import { ExtendedClient } from "../interface/ExtendedClient";
|
||||
import { logTicketMessage } from "../modules/logTicketMessage";
|
||||
|
@ -65,6 +65,7 @@ export const onReactionAdd = async (
|
||||
const thread = await channel.threads.create({
|
||||
autoArchiveDuration: ThreadAutoArchiveDuration.OneWeek,
|
||||
name: user.id,
|
||||
startMessage: message,
|
||||
});
|
||||
await thread.members.add(user.id);
|
||||
await thread.send(ClaimTexts[message.author.id](user as User));
|
||||
|
Loading…
x
Reference in New Issue
Block a user