55 type AutocompleteInteraction ,
66 type ChatInputCommandInteraction ,
77 type CommandInteraction ,
8+ MessageFlags ,
89 SlashCommandBuilder ,
910 SlashCommandStringOption ,
1011 SlashCommandSubcommandBuilder ,
@@ -252,7 +253,7 @@ export default class GegenstandCommand implements ApplicationCommand {
252253 if ( template . onUse === undefined ) {
253254 await interaction . reply ( {
254255 content : "Dieser Gegenstand kann nicht benutzt werden." ,
255- ephemeral : true ,
256+ flags : MessageFlags . Ephemeral ,
256257 } ) ;
257258 return ;
258259 }
@@ -269,7 +270,7 @@ export default class GegenstandCommand implements ApplicationCommand {
269270 sentry . captureException ( error ) ;
270271 await interaction . reply ( {
271272 content : "Beim Benutzen dieses Gegenstands ist ein Fehler aufgetreten." ,
272- ephemeral : true ,
273+ flags : MessageFlags . Ephemeral ,
273274 } ) ;
274275 }
275276
@@ -279,7 +280,7 @@ export default class GegenstandCommand implements ApplicationCommand {
279280
280281 await interaction . reply ( {
281282 content : "Ok." ,
282- ephemeral : true ,
283+ flags : MessageFlags . Ephemeral ,
283284 } ) ;
284285 }
285286
@@ -293,7 +294,7 @@ export default class GegenstandCommand implements ApplicationCommand {
293294 if ( ! item ) {
294295 await interaction . reply ( {
295296 content : "Diesen Gegensand hast du nicht." ,
296- ephemeral : true ,
297+ flags : MessageFlags . Ephemeral ,
297298 } ) ;
298299 return ;
299300 }
@@ -302,7 +303,7 @@ export default class GegenstandCommand implements ApplicationCommand {
302303 if ( ! template ) {
303304 await interaction . reply ( {
304305 content : "Dieser Gegenstand ist unbekannt." ,
305- ephemeral : true ,
306+ flags : MessageFlags . Ephemeral ,
306307 } ) ;
307308 return ;
308309 }
0 commit comments