import { Message , TextChannel } from "discord.js" ; /**
 * A shortcut is a function that returns a specific bit of data from a message
 */ export type Shortcut = ( message : Message ) => string | Promise < string > ; param message export const author = ( message ) => message . author . tag ; param message export const channelName = ( message ) => ( message . channel as TextChannel ) . name ;