mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
Fix being unable to !post to announcement channels or threads
This commit is contained in:
parent
ca9ea60082
commit
05df81ddca
5 changed files with 15 additions and 11 deletions
|
@ -3,12 +3,12 @@ import { LogsPluginType } from "../types";
|
|||
import { LogType } from "../../../data/LogType";
|
||||
import { log } from "../util/log";
|
||||
import { createTypedTemplateSafeValueContainer } from "../../../templateFormatter";
|
||||
import { BaseGuildTextChannel, User } from "discord.js";
|
||||
import { BaseGuildTextChannel, ThreadChannel, User } from "discord.js";
|
||||
import { channelToTemplateSafeChannel, userToTemplateSafeUser } from "../../../utils/templateSafeObjects";
|
||||
|
||||
interface LogScheduledRepeatedMessageData {
|
||||
author: User;
|
||||
channel: BaseGuildTextChannel;
|
||||
channel: BaseGuildTextChannel | ThreadChannel;
|
||||
datetime: string;
|
||||
date: string;
|
||||
time: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue