the funny
This commit is contained in:
parent
5a555b7bb0
commit
09a573a2d3
118 changed files with 15738 additions and 24427 deletions
|
@ -3,6 +3,7 @@ import { GuildArchives } from "../../../data/GuildArchives";
|
|||
import { getBaseUrl, sendSuccessMessage } from "../../../pluginUtils";
|
||||
import { getRateLimitStats } from "../../../rateLimitStats";
|
||||
import { botControlCmd } from "../types";
|
||||
import { TextBasedChannelFields } from "discord.js";
|
||||
|
||||
export const RateLimitPerformanceCmd = botControlCmd({
|
||||
trigger: ["rate_limit_performance"],
|
||||
|
@ -34,6 +35,6 @@ export const RateLimitPerformanceCmd = botControlCmd({
|
|||
const archives = GuildArchives.getGuildInstance("0");
|
||||
const archiveId = await archives.create(fullText, moment().add(1, "hour"));
|
||||
const archiveUrl = archives.getUrl(getBaseUrl(pluginData), archiveId);
|
||||
msg.channel.send(`Link: ${archiveUrl}`);
|
||||
await (msg.channel as TextBasedChannelFields).send(`Link: ${archiveUrl}`);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue