Advertisement
BadSpencer

view.js

Feb 18th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const { Command } = require('discord-akairo');
  2. class GamesViewCommand extends Command {
  3.     constructor() {
  4.         super('games-view', {
  5.             category: 'games',
  6.             description: {
  7.                 content: 'Display game data',
  8.                 usage: '!game view <gameid>',
  9.             },
  10.             args: [{
  11.                 id: 'gameid',
  12.             }],
  13.         });
  14.     }
  15.     exec(message, args) {
  16.         console.log(`Commande !game view with id:${args.gameid}`);
  17.     }
  18. }
  19. module.exports = GamesViewCommand;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement