diff --git a/components/slack/actions/add_star/add_star.js b/components/slack/actions/add-star/add-star.js similarity index 83% rename from components/slack/actions/add_star/add_star.js rename to components/slack/actions/add-star/add-star.js index aad94c2b5e19a..226c1cf8ff6d6 100644 --- a/components/slack/actions/add_star/add_star.js +++ b/components/slack/actions/add-star/add-star.js @@ -14,7 +14,7 @@ module.exports = { "conversation", ], optional: true, - description: "Channel to add star to, or channel where the message to add star to was posted (used with timestamp).", + description: "Channel to add star to, or channel where the message to add star to was posted (used with timestamp)", }, timestamp: { propDefinition: [ @@ -22,7 +22,7 @@ module.exports = { "timestamp", ], optional: true, - description: "Timestamp of the message to add star to.", + description: "Timestamp of the message to add star to", }, file: { propDefinition: [ @@ -30,7 +30,7 @@ module.exports = { "file", ], optional: true, - description: "File to add star to.", + description: "File to add star to", }, }, async run() { diff --git a/components/slack/actions/list_reminders/list_reminders.js b/components/slack/actions/list-reminders/list-reminders.js similarity index 100% rename from components/slack/actions/list_reminders/list_reminders.js rename to components/slack/actions/list-reminders/list-reminders.js diff --git a/components/slack/actions/remove_star/remove_star.js b/components/slack/actions/remove-star/remove-star.js similarity index 100% rename from components/slack/actions/remove_star/remove_star.js rename to components/slack/actions/remove-star/remove-star.js diff --git a/components/slack/actions/reply-to-a-message-thread/reply-to-a-message-thread.js b/components/slack/actions/reply-to-a-message-thread/reply-to-a-message-thread.js index f82908ecbb0ac..462c540594367 100644 --- a/components/slack/actions/reply-to-a-message-thread/reply-to-a-message-thread.js +++ b/components/slack/actions/reply-to-a-message-thread/reply-to-a-message-thread.js @@ -1,7 +1,7 @@ const slack = require("../../slack.app.js"); module.exports = { - key: "slack-reply-to-a-message", + key: "slack-reply-to-a-message-thread", name: "Reply to a Message Thread", description: "Send a message as a threaded reply", version: "0.1.0", diff --git a/components/telegram_bot_api/actions/delete-message/delete-message.mjs b/components/telegram_bot_api/actions/delete-message/delete-message.mjs index 0866321670468..b63c12294a6f1 100644 --- a/components/telegram_bot_api/actions/delete-message/delete-message.mjs +++ b/components/telegram_bot_api/actions/delete-message/delete-message.mjs @@ -22,8 +22,12 @@ export default { }, }, async run({ $ }) { - const resp = await this.telegramBotApi.deleteMessage(this.chatId, this.messageId); - $.export("$summary", `Successfully deleted the message from chat, "${this.chatId}"`); + const { + chatId, + messageId, + } = this; + const resp = await this.telegramBotApi.deleteMessage(chatId, messageId); + $.export("$summary", `Successfully deleted the message from chat, "${chatId}"`); return resp; }, };