mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-24 14:15:40 +01:00
lint: fix issues from ESLint
This commit is contained in:
parent
9dce458bf0
commit
23e8e1a8eb
@ -1,5 +1,4 @@
|
||||
import { ban } from '../common';
|
||||
import { IModule } from '../models/interfaces';
|
||||
import * as discord from 'discord.js';
|
||||
|
||||
export const roles = ['Admins', 'Moderators', 'CitraBot'];
|
||||
|
@ -115,7 +115,7 @@ client.on('messageUpdate', async (oldMessage, newMessage) => {
|
||||
if (parent && IsIgnoredCategory(parent.name) === false) {
|
||||
const oldM = oldMessage.cleanContent || '<no content>';
|
||||
const newM = newMessage.cleanContent;
|
||||
if (oldMessage.content !== newMessage.content && oldM && newM) {
|
||||
if (oldMessage.content !== newMessage.content && newM) {
|
||||
const messageAttachment = oldMessage.attachments.first()?.proxyURL;
|
||||
|
||||
const editedEmbed = new discord.EmbedBuilder()
|
||||
|
Loading…
Reference in New Issue
Block a user