Changed joint reply to standalone msg
All checks were successful
NodBot Production Dockerization / build (push) Successful in 19s
All checks were successful
NodBot Production Dockerization / build (push) Successful in 19s
This commit is contained in:
parent
e5889e3c63
commit
5e71af6072
@ -26,7 +26,7 @@ module.exports = {
|
|||||||
joint = joints[randIndex];
|
joint = joints[randIndex];
|
||||||
}
|
}
|
||||||
// Send the joint
|
// Send the joint
|
||||||
message.reply(`${joints[randIndex]} ${emoji.joint}`);
|
message.channel.send(`${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 +36,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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user