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
- Module Developer: xyligan
- Developer Discord: ♡ xүℓ[ι]gαη4εg ♡#9457
- NPM: Click
- GitHub: Click
- Examples: Click
- Support Server - Click