forked from pinks/eris
1
0
Fork 0

don't ping users in queue command

This commit is contained in:
pinks 2023-09-23 01:44:44 +02:00
parent cc854639d7
commit 27eb471f9e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { getConfig } from "../db/config.ts";
export async function queueCommand(ctx: Grammy.CommandContext<Context>) { export async function queueCommand(ctx: Grammy.CommandContext<Context>) {
let formattedMessage = await getMessageText(); let formattedMessage = await getMessageText();
const queueMessage = await ctx.replyFmt(formattedMessage); const queueMessage = await ctx.replyFmt(formattedMessage, { disable_notification: true });
handleFutureUpdates().catch((err) => logger().warning(`Updating queue message failed: ${err}`)); handleFutureUpdates().catch((err) => logger().warning(`Updating queue message failed: ${err}`));
async function getMessageText() { async function getMessageText() {