mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-15 14:15:03 +00:00
refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -2,9 +2,9 @@ import { HTTPError, Snowflake } from "discord.js";
|
|||
import { GuildPluginData } from "knub";
|
||||
import { disableLinkPreviews } from "knub/helpers";
|
||||
import moment from "moment-timezone";
|
||||
import { Reminder } from "../../../data/entities/Reminder";
|
||||
import { DBDateFormat } from "../../../utils";
|
||||
import { RemindersPluginType } from "../types";
|
||||
import { Reminder } from "../../../data/entities/Reminder.js";
|
||||
import { DBDateFormat } from "../../../utils.js";
|
||||
import { RemindersPluginType } from "../types.js";
|
||||
|
||||
export async function postReminder(pluginData: GuildPluginData<RemindersPluginType>, reminder: Reminder) {
|
||||
const channel = pluginData.guild.channels.cache.get(reminder.channel_id as Snowflake);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue