mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
more organized backend and better mobile control columns
This commit is contained in:
@@ -7,6 +7,7 @@ const {
|
||||
AttachmentBuilder,
|
||||
PermissionsBitField,
|
||||
WebhookClient,
|
||||
MessageFlags,
|
||||
} = require('discord.js');
|
||||
const logger = require('../globals/logger').child('discordBot');
|
||||
const io = require('../globals/io');
|
||||
@@ -884,7 +885,7 @@ async function sendTypingMessage(entry, payload) {
|
||||
const username = formatWebhookUsername(payload);
|
||||
const content = `-# *${username} is typing...*`;
|
||||
try {
|
||||
const message = await channel.send({ content, allowedMentions: { parse: [] } });
|
||||
const message = await channel.send({ content, allowedMentions: { parse: [] }, flags: [MessageFlags.SuppressNotifications]});
|
||||
const timeoutId = setTimeout(() => {
|
||||
clearTypingMessage(entry.guildId, typingId);
|
||||
}, 20000);
|
||||
|
||||
Reference in New Issue
Block a user