mirror of
https://github.com/Ninluc/Dat_Boi.git
synced 2025-08-09 23:26:13 +02:00
Updated keywords
This commit is contained in:
@ -13,9 +13,7 @@ module.exports = {
|
||||
// If it has mentions → return nothing
|
||||
if (message.mentions.members.size) {return;}
|
||||
|
||||
|
||||
|
||||
var answers = ["Bonsoir 🌙", `bsr ${message.author}`, "bsr Figue..."];
|
||||
var answers = ["Bonsoir 🌙", `bsr ${message.author}`];
|
||||
|
||||
return message.channel.send({ content : choose(answers)})
|
||||
|
||||
|
50
keywords/freaky.js
Normal file
50
keywords/freaky.js
Normal file
@ -0,0 +1,50 @@
|
||||
const { MessageEmbed, Message } = require("discord.js");
|
||||
const config = require("../botconfig/config.json");
|
||||
const ee = require("../botconfig/embed.json");
|
||||
const {
|
||||
getRandomInt,
|
||||
choose,
|
||||
isNinluc,
|
||||
isLama,
|
||||
} = require("../handlers/functions");
|
||||
|
||||
module.exports = {
|
||||
keyword: "freaky",
|
||||
regex: /^.{0,5}(freak|freaky).{0,17}$/i,
|
||||
cooldown: 3,
|
||||
random: 80,
|
||||
run: async (client, message, user) => {
|
||||
try {
|
||||
if (getRandomInt(2) == 1) {
|
||||
// Reaction
|
||||
let reactionEmojis = ["😏", "👀"];
|
||||
if (isLama(message.guildId)) {
|
||||
reactionEmojis.push("<:freaky:1266759402417819668>");
|
||||
}
|
||||
return message.react(choose(reactionEmojis));
|
||||
} else {
|
||||
var answers = [
|
||||
"Oil up bro",
|
||||
"Prepare I'm coming to your house 🚗",
|
||||
"Better be oiled up when I'm here 👀",
|
||||
"On dirait bien que qelqu'un est un peu 𝓯𝓻𝓮𝓪𝓴𝔂 par ici 😜",
|
||||
];
|
||||
|
||||
return message.channel.send({ content: choose(answers) });
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(String(e.stack).bgRed);
|
||||
return message.channel.send({
|
||||
embeds: [
|
||||
new MessageEmbed()
|
||||
.setColor(ee.wrongcolor)
|
||||
.setFooter({ text: ee.footertext, iconURL: ee.footericon })
|
||||
.setTitle(`❌ ERREUR | Une erreur est survenue : `)
|
||||
.setDescription(`\`\`\`${e.stack}\`\`\``),
|
||||
],
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
/** Template by Tomato#6966 | https://github.com/Tomato6966/Discord-Js-Handler-Template */
|
48
keywords/gambling.js
Normal file
48
keywords/gambling.js
Normal file
@ -0,0 +1,48 @@
|
||||
const { MessageEmbed, Message } = require("discord.js");
|
||||
const config = require("../botconfig/config.json");
|
||||
const ee = require("../botconfig/embed.json");
|
||||
const {
|
||||
getRandomInt,
|
||||
choose,
|
||||
isNinluc,
|
||||
isLama,
|
||||
} = require("../handlers/functions");
|
||||
|
||||
module.exports = {
|
||||
keyword: "gambling",
|
||||
regex: /^.{0,5}(gambling|gamble).{0,17}$/i,
|
||||
cooldown: 3,
|
||||
random: 80,
|
||||
run: async (client, message, user) => {
|
||||
try {
|
||||
if (getRandomInt(2) == 1) {
|
||||
// Reaction
|
||||
let reactionEmojis = ["😏", "👀", "🎲", "🎰", "🤑"];
|
||||
if (isLama(message.guildId)) {
|
||||
reactionEmojis.push("<:image:1114257700038119506>");
|
||||
}
|
||||
return message.react(choose(reactionEmojis));
|
||||
} else {
|
||||
var answers = [
|
||||
"Gambliiing",
|
||||
"🤑"
|
||||
];
|
||||
|
||||
return message.channel.send({ content: choose(answers) });
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(String(e.stack).bgRed);
|
||||
return message.channel.send({
|
||||
embeds: [
|
||||
new MessageEmbed()
|
||||
.setColor(ee.wrongcolor)
|
||||
.setFooter({ text: ee.footertext, iconURL: ee.footericon })
|
||||
.setTitle(`❌ ERREUR | Une erreur est survenue : `)
|
||||
.setDescription(`\`\`\`${e.stack}\`\`\``),
|
||||
],
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
/** Template by Tomato#6966 | https://github.com/Tomato6966/Discord-Js-Handler-Template */
|
Reference in New Issue
Block a user