Update Bot

This commit is contained in:
2026-03-15 11:58:43 +01:00
parent b67c111ffc
commit cd99275933
560 changed files with 23173 additions and 55113 deletions

View File

@@ -6,8 +6,7 @@ module.exports = {
.setName('ping')
.setDescription('Affiche la latence du bot.'),
async execute(interaction) {
await interaction.deferReply();
const sent = await interaction.fetchReply();
const sent = await interaction.deferReply({ fetchReply: true });
const apiLatency = Math.round(interaction.client.ws.ping);
const roundTripLatency = sent.createdTimestamp - interaction.createdTimestamp;
@@ -30,4 +29,4 @@ module.exports = {
await interaction.editReply({ embeds: [embed] });
},
};
};