🔬
Plexus-Djs
  • Documentation
    • GhostPing
    • Calculator
  • Slash Support Commands
    • Tic-Tac-Toe
    • Rock-Paper-Scissors
Powered by GitBook
On this page
  1. Slash Support Commands

Tic-Tac-Toe

The package supports Auto Slash Recognition ! So no more slash options.

Slash Commands Format For Tic-Tac-Toe -

const { Client, CommandInteraction } = require("discord.js");
const plexusdjs = require("plexus-djs") 

module.exports = {
   name: 'tictactoe',
    description: 'Just a fun TicTacToe',
    options: [{
        name: 'user',
        type: 'USER',
        description: 'user to compete with in TicTacToe',
        required: true,
      }],
   run: async (client, interaction, args) => {

plexusdjs.tictactoe(interaction, {
  slash: true,
});
   },
};

PreviousCalculatorNextRock-Paper-Scissors

Last updated 3 years ago