diff --git a/commands/utils/ping.js b/commands/utils/ping.js index 3e66efb..b5429a6 100644 --- a/commands/utils/ping.js +++ b/commands/utils/ping.js @@ -31,5 +31,9 @@ module.exports = { }); interaction.reply({ content: 'La latence a été rafraichie', ephemeral: true }); }); + + collector.on('end', () => { + sentMessage.edit({ components: [] }); + }); }, }; \ No newline at end of file