New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minigames-discord

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minigames-discord

a simple minigame package for discord.js

  • 1.0.5
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

minigames-discord

minigames-discord is a javascript minigame package for discord with the minigames needed for your bot.

INSTALLING

$ npm install minigames-discord

some examples

TICTACTOE

const { TicTacToe } = require('minigames-discord')
const game = new TicTacToe({
  message: message,
  xEmote: '❌', // The Emote for X
  oEmote: '0️⃣', // The Emote for O
  xColor: 'PRIMARY',
  oColor: 'PRIMARY', // The Color for O
  embedDescription: 'Tic Tac Toe', // The Description of the embed
})
game.start()

SNAKE

const {GuildMember, Message} = require('discord.js')
const minigames = require('minigames-discord')
let Snake = new minigames.SnakeGame(Message)
Snake.startSnake(GuildMember)

ROCKPAPERSCISSORS

const { RockPaperScissors } = require('minigames-discord')
const game = new RockPaperScissors({
  message: message,
})
game.start()

BATTLE

const {GuildMember, Message} = require('discord.js')
const minigames = require('minigames-discord')
minigames.startBattle(GuildMember, Message)

ISPY

const {GuildMember, Message} = require('discord.js')
const minigames = require('discord-minigames')
let ISpy = new minigames.ISpy(Message)
ISpy.startISpy(GuildMember)

Keywords

FAQs

Package last updated on 14 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc