import type { HelpObj } from '../../structures/commandhandler' ; import type ReknownClient from '../../structures/client' ; import { think } from 'cowsay' ; import type { Message , PermissionString } from 'discord.js' ; export async function run ( client , message , args ) { if ( ! args [ 1 ] ) return client . functions . noArg ( message , 1 , 'a message for a cow to think about.' ) ; const msg = args . slice ( 1 ) . join ( ' ' ) ; message . channel . send ( `\`\`\`${ think ( { text : msg } ) }\`\`\`` ) ; } export const help = { aliases : [ ] , category : 'Fun' , desc : 'Makes a cow think of something.' , dm : true , togglable : true , usage : 'cowthink <Message>' } ; export const memberPerms = [ ] ; export const permissions = [ ] ;