Update to new Knub 30 beta. Code clean-up.
This commit is contained in:
parent
5d579446c5
commit
2f470dc37a
299 changed files with 1075 additions and 1004 deletions
|
@ -1,12 +1,12 @@
|
|||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import moment from "moment-timezone";
|
||||
import { convertDelayStringToMS, messageLink } from "src/utils";
|
||||
import { convertDelayStringToMS, messageLink } from "../../../utils";
|
||||
import humanizeDuration from "humanize-duration";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "src/pluginUtils";
|
||||
import { remindersCommand } from "../types";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
||||
import { remindersCmd } from "../types";
|
||||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin";
|
||||
|
||||
export const RemindCmd = remindersCommand({
|
||||
export const RemindCmd = remindersCmd({
|
||||
trigger: ["remind", "remindme"],
|
||||
usage: "!remind 3h Remind me of this in 3 hours please",
|
||||
permission: "can_use",
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import { remindersCommand } from "../types";
|
||||
import { sendErrorMessage } from "src/pluginUtils";
|
||||
import { createChunkedMessage, DBDateFormat, sorter } from "src/utils";
|
||||
import { remindersCmd } from "../types";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import { createChunkedMessage, DBDateFormat, sorter } from "../../../utils";
|
||||
import moment from "moment-timezone";
|
||||
import humanizeDuration from "humanize-duration";
|
||||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin";
|
||||
|
||||
export const RemindersCmd = remindersCommand({
|
||||
export const RemindersCmd = remindersCmd({
|
||||
trigger: "reminders",
|
||||
permission: "can_use",
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { remindersCommand } from "../types";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "src/pluginUtils";
|
||||
import { sorter } from "src/utils";
|
||||
import { remindersCmd } from "../types";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
||||
import { sorter } from "../../../utils";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
|
||||
export const RemindersDeleteCmd = remindersCommand({
|
||||
export const RemindersDeleteCmd = remindersCmd({
|
||||
trigger: ["reminders delete", "reminders d"],
|
||||
permission: "can_use",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue