leaf-utils
v1.1.3
Published
A simple package to code with ease
Downloads
102
Maintainers
Readme
✨ About
Leaf-utils is a simple package to code with ease.
⚙️ Installation
Node.js 16.6.0 or newer is required.
npm install leaf-utils
📗 Usage
const { TicTacToe } = require('leaf-utils');
await TicTacToe({
message: message,
slash_command: false,
time: 300000,
opponent: message.mentions.users.first(),
embed: {
title: 'Tic Tac Toe',
color: 'RED'
},
challenge: {
acceptButton: 'Accept',
denyButton: 'Deny',
},
emojis: {
xEmoji: '❌',
oEmoji: '🔵',
},
colors: {
xEmoji: 'DANGER',
oEmoji: 'PRIMARY',
},
noUser: 'You must mention someone',
acceptMessage: '{{player}} has challenged you {{opponent}}',
cancelMessage: '{{opponent}} refused to have a fight with you!',
endMessage: 'Challenge not accepted in time',
authorOnly: 'You can\'t use these buttons',
})
✏️ Examples
If you are looking for examples check My GitHub
❔ Help
If you need help, please don't hesitate to join our Discord Server.
🔗 Links
- Youtube - My
Youtube Channel
- Discord Server - My
Discord Server
- GitHub - Leaf-utils
Github