diff --git a/config.example.js b/config.example.js index 093a0d19..63251b65 100644 --- a/config.example.js +++ b/config.example.js @@ -97,6 +97,13 @@ module.exports = { message: "Thank you %user% for boosting the server!", }, + // ------------------------------------------------- giveaways ------------------------------------------------------- + + // leave "false" if you don't want to mention everyone + giveaways: { + everyoneMention: true, + }, + // ----------------------------------------------- lyrics config ----------------------------------------------------- GENIUS_TOKEN: "", @@ -227,5 +234,5 @@ module.exports = { LogDir: "logs", }, - VERSION: "3", // DO NOT TOUCH + VERSION: "4", // DO NOT TOUCH }; diff --git a/package-lock.json b/package-lock.json index 202fc111..570db7d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ririko", - "version": "0.6.8", + "version": "0.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ririko", - "version": "0.6.8", + "version": "0.7.0", "license": "MIT", "dependencies": { "@discordjs/builders": "^1.6.1", diff --git a/package.json b/package.json index 0754c5fb..d79f1d27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ririko", - "version": "0.6.8", + "version": "0.7.0", "description": "Ririko - A powerful AI-powered general Discord bot that you can call your companion", "author": "Earnest Angel", "email": "me@angel.net.my", diff --git a/src/helpers/message.js b/src/helpers/message.js index abaa7551..6eb2880e 100644 --- a/src/helpers/message.js +++ b/src/helpers/message.js @@ -4,10 +4,10 @@ const config = require("config"); module.exports = { giveaway: - (config.giveaways.roleMention ? "@everyone\n\n" : "") + + (config.giveaways.everyoneMention ? "@everyone\n\n" : "") + "🎉 **GIVEAWAY** 🎉", giveawayEnded: - (config.giveaways.roleMention ? "@everyone\n\n" : "") + + (config.giveaways.everyoneMention ? "@everyone\n\n" : "") + "🎉 **GIVEAWAY ENDED** 🎉", drawing: `Ends: **{timestamp}**`, inviteToParticipate: `React with 🎉 to participate!`, diff --git a/src/ririkoBot.js b/src/ririkoBot.js index 266079f0..e5a609b1 100644 --- a/src/ririkoBot.js +++ b/src/ririkoBot.js @@ -118,7 +118,7 @@ module.exports = client; lastChance: { enabled: true, content: `🛑 **Last chance to enter** 🛑`, - threshold: 5000, + threshold: 60000, embedColor: "#FF0000", }, },