Skip to content
Extraits de code Groupes Projets
Valider 2f6b8050 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Fix linter being upset about line length.

parent c5223e9f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -94,7 +94,8 @@ export class MessageProcessor {
const id = results[1];
try {
const mxcUrl = await this.bot.GetGuildEmoji(msg.guild, id);
content = content.replace(results[0], `<img alt="${id}" src="${mxcUrl}" style="height: ${EMOJI_SIZE};"/>`);
content = content.replace(results[0],
`<img alt="${id}" src="${mxcUrl}" style="height: ${EMOJI_SIZE};"/>`);
} catch (ex) {
log.warn("MessageProcessor",
`Could not insert emoji ${id} for msg ${msg.id} in guild ${msg.guild.id}: ${ex}`,
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter