des-games
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

des-games


Support server NPM version NPM downloads

Welcome

Welcome! This 'des-games' module!
This is a powerful game addon for Discord Economy Super.

Installation

Please note: Node.js 14.0.0 or newer is required.
All types in brackets mean the type of what the method or event returns.

Install des-games

$ npm install des-games

Features

  • Simple & easy to use 👍
  • Beginner friendly 😄
  • Module base support 📃

Module Managers

  • 'UtilsManager' - Manager that enables module Utils.

Module Constructor Options

  • 'options.fishConfig.cooldown' - Property responsible for the amount of time between games.

  • 'options.fishConfig.maxAmount' - Property responsible for the maximum amount of rewards for the game.

  • 'options.huntConfig.cooldown' - Property responsible for the amount of time between games.

  • 'options.huntConfig.maxAmount' - Property responsible for the maximum amount of rewards for the game.

Quick Initialization Example

const Discord = require('discord.js');

const client = new Discord.Client();
const Economy = require('discord-economy-super');
const eco = new Economy();
const EconomyGames = require('des-games');
const games = new EconomyGames(eco);

client.on('ready', () => {
  console.log('Bot started!');
})

client.login('YOUR_BOT_TOKEN_HERE');

Examples

Click here to see JavaScript examples.

Useful Links

Thanks for using DES Games

Readme

Keywords

none

Package Sidebar

Install

npm i des-games

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

28.5 kB

Total Files

12

Last publish

Collaborators

  • xyligan