Compare commits

...

5 Commits
v3.4.1 ... main

Author SHA1 Message Date
bb7c66d8db Merge pull request 'v3.4.2-dev' (#28) from v3.4.2-dev into main
Reviewed-on: #28
2025-01-27 20:14:14 +00:00
5e71af6072 Changed joint reply to standalone msg
All checks were successful
NodBot Production Dockerization / build (push) Successful in 19s
2025-01-27 15:03:35 -05:00
e5889e3c63 Versioning
All checks were successful
NodBot Production Dockerization / build (push) Successful in 20s
2025-01-24 20:20:37 -05:00
22c215f3c2 Coupla beers no beers 2025-01-24 20:16:03 -05:00
ba340e7b8e Merge pull request 'v3.4.1' (#27) from v3.4.1 into main
Reviewed-on: #27
2025-01-25 01:07:26 +00:00
3 changed files with 10 additions and 5 deletions

View File

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

View File

@ -5,7 +5,9 @@ module.exports = {
name: 'joint',
description: 'Send a random weed-themed phrase.',
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) {
let joints = [];
// Create a simple array of the joint texts
@ -24,7 +26,7 @@ module.exports = {
joint = joints[randIndex];
}
// Send the joint
message.reply(`${joints[randIndex]} ${emoji.joint}`);
message.channel.send(`${joints[randIndex]} ${emoji.joint}`);
// Check how full the roach collection is
if (message.client.roaches.size / joints.length >= 0.85) {
// If the roach collection is 85% of the joints collection
@ -34,4 +36,4 @@ module.exports = {
// Add the joint to the roach collection
message.client.roaches.set(joint, "baked");
}
}
}

View File

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