Compare commits

..

No commits in common. "74fe8e3e8b211116c94e26232dc0f6af24f5105f" and "b6eb4761623f99916fa7614bfd1eb5f7bc190c5a" have entirely different histories.

2 changed files with 1 additions and 18 deletions

View file

@ -177,23 +177,6 @@ export async function queueRequest(request: apiRequest) {
if (!canReplyToRequest(request)) return; if (!canReplyToRequest(request)) return;
if (!(request instanceof DiscordApi.Message) && channelsRunning.get(request.channelId)?.length !== 0) {
requestReply(
request as RequestMessage,
{
embeds: [{
color: 0xb000ff,
description: "I'm already typing here, please wait!",
}]
},
{},
{
ephemeral: true,
},
)
return;
}
const userLimit = await getUserLimit(getAuthor(request), request.createdAt); const userLimit = await getUserLimit(getAuthor(request), request.createdAt);
if (userLimit !== false && userLimit.remaining <= 0) { if (userLimit !== false && userLimit.remaining <= 0) {

View file

@ -23,7 +23,7 @@ function getConfig() {
["./config.ts"], ["./config.ts"],
{outDir: "./dist"} {outDir: "./dist"}
); );
program.emit(program.getSourceFile("./config.ts")); console.log(program.emit(program.getSourceFile("./config.ts")));
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-unsafe-member-access // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-unsafe-member-access
fileConfig = require("./config").default as IConfig; fileConfig = require("./config").default as IConfig;
} catch (e) { } catch (e) {