'use strict'; const commando = require("@iceprod/discord.js-commando"); const emoteMessage = require("../../resources/emoteMessage"); const { ranLog, trySend, tryDelete, getChannelMessage } = require("../../resources/functions"); module.exports = class say extends commando.Command { constructor(client) { super(client, { name: "say", memberName: "say", group: "fun", description: "Say." }); } async run(msg, args) { const REPLACE = args.match(/(?\s")).test(msg.content) && msg.member.hasPermission("MANAGE_MESSAGES") && msg.guild.member(this.client.user).hasPermission("MANAGE_MESSAGES")) { tryDelete(msg); } ranLog(msg, sent.content); return sent; } };