mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Fixed discord.js v14 breaking changes
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ export default class Ping extends DiscordModule {
|
||||
}`
|
||||
);
|
||||
|
||||
if (data.isSlashCommand())
|
||||
if (data.isApplicationCommand())
|
||||
return await data
|
||||
.getMessageComponentInteraction()
|
||||
.editReply({ embeds: [EMBEDS.PING_INFO(data, locale, finalString.join('\n'))] });
|
||||
|
||||
Reference in New Issue
Block a user