File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -107,19 +107,27 @@ export async function handleApplicationCommand(
107107 }
108108
109109 case 'guide' : {
110- const castArgs = args as ArgumentsOf < typeof GuideCommand > ;
111- await algoliaResponse (
110+ // const castArgs = args as ArgumentsOf<typeof GuideCommand>;
111+ prepareResponse (
112112 res ,
113- process . env . DJS_GUIDE_ALGOLIA_APP ! ,
114- process . env . DJS_GUIDE_ALGOLIA_KEY ! ,
115- 'discordjs' ,
116- castArgs . query ,
117- EMOJI_ID_GUIDE ,
118- 'guide' ,
119- castArgs . mention ,
120- castArgs . hide ,
121- 'guide' ,
113+ 'The guide command is currently unavailable while we rework it to use the new guide page.' ,
114+ {
115+ ephemeral : true ,
116+ } ,
122117 ) ;
118+
119+ // await algoliaResponse(
120+ // res,
121+ // process.env.DJS_GUIDE_ALGOLIA_APP!,
122+ // process.env.DJS_GUIDE_ALGOLIA_KEY!,
123+ // 'discordjs',
124+ // castArgs.query,
125+ // EMOJI_ID_GUIDE,
126+ // 'guide',
127+ // castArgs.mention,
128+ // castArgs.hide,
129+ // 'guide',
130+ // );
123131 break ;
124132 }
125133
You can’t perform that action at this time.
0 commit comments