Skip to content

A package for discord.js mini games which can be used in your bots

License

Notifications You must be signed in to change notification settings

Megalodon-sharky/djs-games

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A discord.js Games Package with Who's that Pokemon, ConnectFour, Snake, rock paper scissors, guessTheNumber, tictactoe , fast type! Join our Support Server for help The Update for DJS-V13 is Out! You Can use this package with djs-13 by installing djs-games@dev

Installation

npm i djs-games

Example usage

USE ACCORDING TO YOUR COMMAND HANDLER

Who's That Pokemon

 const { Pokemon } = require('djs-games')
    const game = new Pokemon({
    message: message,
    token: "dagpi-token-here", // Get Your Api Token at https://dagpi.xyz/dashboard
    })
    game.start()

Tic Tac Toe

const djsGames = require('djs-games')
const TicTacToe = new djsGames.TicTacToe()
 TicTacToe.startGame(message)

ConnectFour

const djsGames = require('djs-games')
const ConnectFour = new djsGames.ConnectFour()
ConnectFour.startGame(message)

SNAKE

const djsGames = require('djs-games')
const SnakeGame = new djsGames.SnakeGame()
SnakeGame.startGame(message)

RockPaperScissors

const djsGames = require('djs-games')
const RockPaperScissors = new djsGames.RockPaperScissors()
 RockPaperScissors.startGame(message)

GuessTheNumber

const djsGames = require('djs-games')
const guessTheNumber = new djsGames.GuessTheNumber()
 guessTheNumber.startGame(message)

Fast Type

const djsGames = require('djs-games')
const FastTyper = new djsGames.FastTyper()
FastTyper.startGame(message)

Credits

Thanks to Koenie For the Code Base!

Note:

Please Respect the license and dont just copy the whole thing as paste as your own package!

Updates

The Update for DJS-V13 is Out! You Can use this package with djs-13 by installing djs-games@dev

Help

Join our Support Server for help

About

A package for discord.js mini games which can be used in your bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%