1.0.1 • Published 1 year ago

des-games-super v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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-super

$ npm install des-games-super

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-super');
const games = new EconomyGames(eco);

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

client.login('YOUR_BOT_TOKEN_HERE');

Useful Links