#returning different things to a run method
1 messages · Page 1 of 1 (latest)
so instead of
return interaction.reply('x');
its
return 'x';
or instead of
return interaction.reply({ embeds: [{ description: 'x' }] });
its
return { embed: [ { description: 'x' } ] };
like can i modify how sapphire handles replies on my side without modifying the underlying library code
I don’t think that’s possible
There is ChatInputCommandSuccess but I don’t think that’s what you are looking for
Not possible and won't be implemented. For 2 lines of code of laziness by users like yourself it introduced a dozen difficulties for the library by the mere existence of assumptions.