import { Command , PermissionLevel } from "disharmony" ; import Message from "../models/message" ; async function invoke ( _ , message ) { return `\`\`\`JavaScript\n ${ message . guild . getConfigJson ( ) }\`\`\`` ; } export default new Command ( "view-config" , "View configuration for this server" , PermissionLevel . Admin , invoke ) ;