import type { Message , TextChannel } from "eris" ; import { Command } from "../../classes/Command" ; export class SayCommand extends Command { description = "Makes the bot say something." ; args = "<text:string>" ; allowdms = true ; allowdisable = false ; owner = true ; async run ( msg , _pargs , args ) { await msg . channel . createMessage ( args . join ( " " ) ) . then ( ( ) => { msg . delete ( ) ; } ) ; } }