3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-07 16:05:01 +00:00

Made confirms ephemeral and fixed slash command duration options

This commit is contained in:
Lily Bergonzat 2024-02-24 03:41:43 +01:00
parent a49bb81ce1
commit 4d8b6b5cd7
6 changed files with 16 additions and 25 deletions

View file

@ -76,7 +76,7 @@ export const CommonPlugin = zeppelinGuildPlugin<CommonPluginType>()({
});
}
const replyMethod = context.replied ? "followUp" : "reply";
const replyMethod = context.replied ? "editReply" : "reply";
return context[replyMethod]({
content: formattedBody,
@ -127,7 +127,7 @@ export const CommonPlugin = zeppelinGuildPlugin<CommonPluginType>()({
});
}
const replyMethod = context.replied ? "followUp" : "reply";
const replyMethod = context.replied ? "editReply" : "reply";
return context[replyMethod]({
content: formattedBody,