Skip to main content

Rock Paper Scissors

Let your users play Rock Paper Scissors against the bot and each other!

Rock Paper Scissors
Let your users play Rock Paper Scissors against the bot and each other!
This module is open-source.
This module creates one top-level Slash-Command on your server.
This module has no available configuration files.
This module is being actively used on over 2K other servers on SCNX.
This module is included for free in every plan. Learn more about prices.

Features

Rock paper scissors is a game which can be easily played with just two players, requiring no additional equipment. If you want to learn more about the game and its rules, you can check out Wikipedia.

By default, there are three options to choose from: Rock, Paper and Scissors - just like the name says. Using your CustomBot, you can play against the bot itself or another user on your Discord server!

Setup

The setup is really simple - just enable the module in your SCNX dashboard and you're good to go!

Usage

A Rock paper scissors game can be started using the slash command /rock-paper-scissors - you can find out more about the command in the Commands section below.

If the user option of the command is left empty or a bot is provided, the game starts automatically in the current channel playing against CustomBot's AI. Otherwise, the targeted user has to accept the invitation to play a game against you using the button on the message. If they accept within two minutes, the game starts.

After accepting, the bot edits the initial message to add three buttons for the three options, displayed as emojis. Once both users made their choice, the bot announces the winner of the game. If you want to play another round, simply click the "Play again" button.

Commands

Understand the documentation
In these docs, name:<Type> is an option of a slash-command with name name and the type Type. Options that not required, are described as [name:<Type>]. If the action of a command is vastly different between required and not-required options, we might list them separately.
Examples
  • /moderate ban user:<Member>: This command (/moderate ban) has an required option with the name "user" that only accepts one member as a value.
  • /moderate ban victim:<Member> reason:<Text>: This command (/moderate ban) has an required option with the name "victim" that only accepts one member as a value and another required option with the name "reason" that accepts any text as an value.
  • /moderate ban victim:<Member> reason:<Text> [proof:<Attachment>]: This command (/moderate ban) has an required option with the name "victim" that only accepts one member as a value, another required option with the name "reason" that accepts any text as an value and a not-required option with the name "proof" which allows one attachment as its value.
CommandDescription
/rock-paper-scissorsThis command starts a Rock paper scissors game if no user or a bot has been entered, or sends an invite to another user to play the game.

Troubleshooting

I chose the correct option, but the bot still says that I lost!
  • Try looking at the color of the button with your choice - if it's green, you won! Otherwise, you might have to read the Rock paper scissor rules again...