Giter VIP home page Giter VIP logo

roboto's Introduction

Roboto

Supported Languges

  • French
  • English
  • Spanish

Commands

  • !game
  • !ui
  • !si
  • !vote
  • !discoboom
  • @lang
  • @ban
  • @kick

Games

The bot include 3 games:

  • rock paper scissors
  • rock paper scissors: Battle Royale
  • Connect 4

Rock Paper Scissors

The game knowed by everyone is available on Discord. You say in any channel !game pfc the bot create a game instence for your party

Rules:

  • You have 3 choises Rock, Paper and Scissors
  • You select your choise in message in bot's dm and when your friend select his choise too you can see the result
  • Rock beat Scissors, Paper beat Rock and Scissors beat Paper

Rock Paper Scissors: Battle Royale

It's a battle royale mode of RPS. You can start an instence from 2 players to 100 players You have 1 round to beat your enemy, when you won a round, Roboto select for you another player to beat.

Connect 4

Objective: The aim for both players is to make a straight line of four own pieces; the line can be vertical, horizontal or diagonal.

Game in progress

  • Werewolf
  • Hangman
  • Random event (if Roboto listens to more than 100 servers, the principle is to ensure that players from different servers can play together in a good mood)

Utility commands

User info (!ui)

Usage: !ui [optional arg]

Get user info, the user must be in the server where the command is executed. This command will get some basic info:

  • join date on the server
  • register date on discord
  • user status
  • where is the user is connected

Server info (!si)

Usage: !si

The command will get basic server information.

Vote (!vote)

Usage: !vote [param]

Create a poll (unmonitored by Roboto), param field in command is used when the poll creation process has been started.

Discoboom (!discoboom)

Usage: !discoboom [sub-command] [sub-command argument]

Turn on DiscoBoom mode on Roboto, join you music vc and type !discoboom play <replace with your url>

Admin commands

Change the bot language (@lang)

Usage: @lang <lang code>

Exemple to enable french on your server: @lang fr_FR

Available language:

  • English (en_US)
  • French (fr_FR)
  • Spanish (es_ES)

Ban user (@ban)

Usage: @ban <user mention tag> <reason>

The command will ban the mentionned user.

The reason is displayed to the banned user in DM and the reason will be displayed in ban reason in your discord server settings.

Kick user (@kick)

Usage: @kick <user mention tag> <reason>

The command will kick the mentionned user.

The reason is displayed to the kicked user in DM and the reason will be displayed in kick reason in your discord server settings.

Command in development

  • Slash based command (ex: !discoboom -> /discoboom)

roboto's People

Contributors

ungarscool1 avatar

Watchers

 avatar  avatar

roboto's Issues

Server information wrong user and bot number

Describe the bug
Server information command return the wrong user and bot information.

To Reproduce
Steps to reproduce the behavior:

  1. Enter the command '!si'
  2. 0 users and 1 bot

Expected behavior
Display the correct user and bot number.

Screenshots
image

Additional context
N/A

PFC / RPS empty embed when give up and in game

Describe the bug
On give up:
image
In game: the message pops and swoosh

To Reproduce
Steps to reproduce the behavior:

  1. Enter the command '!game pfc'
  2. Game invitation
  3. Give up or play

Expected behavior
On give up: a message 'this_guy gives up'
In game:
This_guy plays โœ‚๏ธ
That_guy plays ๐Ÿ‚

Screenshots
image

Additional context
No error in console

Connect 4 reaction broken

Describe the bug
When clicking on the reaction, nothing happened

To Reproduce
Steps to reproduce the behavior:

  1. Enter the command '!game ^4'
  2. Game invitation is displayed
  3. Join game works
  4. The game starts
  5. And now the reactions are broken

Expected behavior
Work.

Additional context
Nothing is displayed in logs

Running on production mode
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Shard 0 logged in!
Getting servers info...
[INFO] Liste des jeux mis ร  jour

NullPointerException on !discoboom queue

Describe the bug
If the discoboom queue is empty and if we trigger the command, no message is not sent and exception is thrown.

To Reproduce

  1. Enter the command '!discoboom queue'
  2. Nothing is displayed on discord and exception in bot logs.

Expected behavior
No error and a beautiful message.

Screenshots
image

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.