Compare commits

..

No commits in common. "main" and "v3.4.1" have entirely different histories.
main ... v3.4.1

3 changed files with 5 additions and 10 deletions

View File

@ -1,8 +1,5 @@
## v3.4.x ## v3.4.x
#### v3.4.2 (#28) #### v3.4.1
* Added `.drink` and aliases
#### v3.4.1 (#27)
* Adding command to change nicknames * Adding command to change nicknames
#### v3.4.0 (#25) #### v3.4.0 (#25)

View File

@ -5,9 +5,7 @@ module.exports = {
name: 'joint', name: 'joint',
description: 'Send a random weed-themed phrase.', description: 'Send a random weed-themed phrase.',
usage: '.joint', usage: '.joint',
alias: ['bong', 'blunt', 'bowl', 'pipe', 'dab', 'vape', 'dabs', 'shatter', 'edible', 'edibles', 'doobie', 'spliff', 'gummy', 'gummies', 'hash', 'toke', 'big doinks', alias: ['bong', 'blunt', 'bowl', 'pipe', 'dab', 'vape', 'dabs', 'shatter', 'edible', 'edibles', 'doobie', 'spliff', 'gummy', 'gummies', 'hash', 'toke', 'big doinks'],
'drink', 'shot', 'shots', 'beer', 'beers', 'brew', 'brews', 'liquor', 'cocktail', 'cocktails', 'wine', 'wines', 'whiskey', 'whiskies', 'vodka', 'vodkas', 'rum', 'rums', 'cider', 'ciders',
],
execute(message, commandData) { execute(message, commandData) {
let joints = []; let joints = [];
// Create a simple array of the joint texts // Create a simple array of the joint texts
@ -26,7 +24,7 @@ module.exports = {
joint = joints[randIndex]; joint = joints[randIndex];
} }
// Send the joint // Send the joint
message.channel.send(`${joints[randIndex]} ${emoji.joint}`); message.reply(`${joints[randIndex]} ${emoji.joint}`);
// Check how full the roach collection is // Check how full the roach collection is
if (message.client.roaches.size / joints.length >= 0.85) { if (message.client.roaches.size / joints.length >= 0.85) {
// If the roach collection is 85% of the joints collection // If the roach collection is 85% of the joints collection
@ -36,4 +34,4 @@ module.exports = {
// Add the joint to the roach collection // Add the joint to the roach collection
message.client.roaches.set(joint, "baked"); message.client.roaches.set(joint, "baked");
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "nodbot", "name": "nodbot",
"version": "3.4.2", "version": "3.4.1",
"description": "Nods and Nod Accessories", "description": "Nods and Nod Accessories",
"main": "main.js", "main": "main.js",
"dependencies": { "dependencies": {