mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
You saw nothing
This commit is contained in:
parent
cb1ba4d878
commit
8ffafe1214
1 changed files with 0 additions and 2 deletions
|
@ -62,7 +62,6 @@ export const ReplyAction = automodAction({
|
||||||
? await renderReplyText(actionConfig)
|
? await renderReplyText(actionConfig)
|
||||||
: ((await renderRecursively(actionConfig.text, renderReplyText)) as MessageOptions);
|
: ((await renderRecursively(actionConfig.text, renderReplyText)) as MessageOptions);
|
||||||
|
|
||||||
console.log("formatted:", formatted);
|
|
||||||
if (formatted) {
|
if (formatted) {
|
||||||
const channel = pluginData.guild.channels.cache.get(channelId as Snowflake) as TextChannel;
|
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;
|
const messageContent: MessageOptions = typeof formatted === "string" ? { content: formatted } : formatted;
|
||||||
console.log(`sending reply message to ${channel.id}`);
|
|
||||||
const replyMsg = await channel.send({
|
const replyMsg = await channel.send({
|
||||||
...messageContent,
|
...messageContent,
|
||||||
allowedMentions: {
|
allowedMentions: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue