11import {
2- ApplicationCommandType ,
32 ChannelType ,
43 ContextMenuCommandBuilder ,
54 PermissionFlagsBits ,
@@ -8,6 +7,7 @@ import type {
87 MessageContextMenuCommandInteraction ,
98 TextChannel ,
109} from "discord.js" ;
10+ import { ApplicationCommandType } from "discord-api-types/v10" ;
1111
1212import { reacord } from "~/discord/client.server" ;
1313import { quoteAndEscape } from "~/helpers/discord" ;
@@ -16,7 +16,7 @@ import { resolutions } from "~/helpers/modResponse";
1616
1717import { fetchSettings , SETTINGS } from "~/models/guilds.server" ;
1818import { applyRestriction , ban , kick , timeout } from "~/models/discord.server" ;
19- import { Confirmation , ModResponse } from "~/commands/reacord/ModResponse" ;
19+ import { ModResponse } from "~/commands/reacord/ModResponse" ;
2020
2121export const command = new ContextMenuCommandBuilder ( )
2222 . setName ( "Convene mods" )
@@ -157,15 +157,6 @@ This isn't a formal warning, but your message concerned the moderators enough th
157157 ) ;
158158 return ;
159159
160- case resolutions . okay :
161- reportUser ( {
162- reason : ReportReasons . mod ,
163- message,
164- staff,
165- extra : "✅ Determined to be okay" ,
166- } ) ;
167- return ;
168-
169160 case resolutions . track :
170161 reportUser ( {
171162 reason : ReportReasons . track ,
@@ -190,15 +181,8 @@ This isn't a formal warning, but your message concerned the moderators enough th
190181 ) ;
191182
192183 // reply
193- const ackInstance = reacord . ephemeralReply (
194- interaction ,
195- < Confirmation
196- modRoleId = { moderator }
197- thread = { thread }
198- onNotify = { ( ) => {
199- ackInstance . render ( "Mods notified" ) ;
200- ackInstance . deactivate ( ) ;
201- } }
202- /> ,
203- ) ;
184+ await interaction . reply ( {
185+ content : `Discussion thread created <#${ thread . id } >` ,
186+ ephemeral : true ,
187+ } ) ;
204188} ;
0 commit comments