3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00

You saw nothing

This commit is contained in:
Dragory 2021-08-18 21:08:30 +03:00
parent b9f7ee9a4a
commit 193c67c5ff

View file

@ -62,7 +62,6 @@ export const ReplyAction = automodAction({
? await renderReplyText(actionConfig)
: ((await renderRecursively(actionConfig.text, renderReplyText)) as MessageOptions);
console.log("formatted:", formatted);
if (formatted) {
const channel = pluginData.guild.channels.cache.get(channelId as Snowflake) as TextChannel;
@ -93,7 +92,6 @@ export const ReplyAction = automodAction({
}
const messageContent: MessageOptions = typeof formatted === "string" ? { content: formatted } : formatted;
console.log(`sending reply message to ${channel.id}`);
const replyMsg = await channel.send({
...messageContent,
allowedMentions: {