LoopbotLoopbot
CommandsMiscellaneous

Command pfc

The pfc command allows users to play a game of rock, paper, scissors against the bot. This is a fun and interactive way to engage with the bot.

Description

When the pfc command is invoked, the user must choose one of three options: rock, paper, or scissors. The bot will then randomly select one of the options and determine the winner.

Usage

Permissions

  • User: Everyone

Category

  • Category: MISCELLANEOUS

How It Works

  1. When a user invokes the pfc command, they must provide their choice of rock, paper, or scissors.
  2. The bot randomly selects one of the three options.
  3. The bot compares the user's choice with its own:
    • If both choices are the same, the result is a tie.
    • If the user's choice beats the bot's choice (rock beats scissors, scissors beat paper, paper beats rock), the user wins.
    • If the bot's choice beats the user's choice, the bot wins.
  4. The bot then constructs an embed message that displays:
    • The user's choice
    • The bot's choice
    • The result of the game (tie, user win, or bot win)
  5. Finally, the bot replies to the user with the embed message showing the outcome of the game.

This command is a great way to have fun and interact with the bot in a light-hearted manner.