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

Rock-Paper-Scissors

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

Slash Commands Format For Rock-Paper-Scissors -

const { Client, CommandInteraction } = require("discord.js");
const plexusdjs = require("plexus-djs") 
module.exports = {
   name: 'rps',
    description: 'Just a fun rps using plexus-djs',
    options: [{
        name: 'user',
        type: 'USER',
        description: 'user to compete with in rps',
        required: true,
      }],
   run: async (client, interaction, args) => {

plexusdjs.rps(interaction, {
  slash: true,
});
   },
};
PreviousTic-Tac-Toe

Last updated 3 years ago