Skip to content

Instantly share code, notes, and snippets.

@trezy
Created March 6, 2022 05:23
Show Gist options
  • Save trezy/a674d43c1dde34ec9e2f0c43b4791b11 to your computer and use it in GitHub Desktop.
Save trezy/a674d43c1dde34ec9e2f0c43b4791b11 to your computer and use it in GitHub Desktop.
// Local imports
import { Command } from '../structures/Command.js'
export default new Command({
// Meta
name: '8ball',
description: 'Ask the Magic 8-ball a question and it may tell you your fortune...',
options: [
{
name: 'query',
description: 'Your question for the Magic 8-ball',
type: 'string',
isRequired: true,
},
],
// Functionality
execute: async interaction => { '...' },
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment