Skip to content

Commit

Permalink
Add new config for giveaway, bump to version 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
earnestangel committed Jun 25, 2023
1 parent 7d6a277 commit 26fb681
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: "",
Expand Down Expand Up @@ -227,5 +234,5 @@ module.exports = {
LogDir: "logs",
},

VERSION: "3", // DO NOT TOUCH
VERSION: "4", // DO NOT TOUCH
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!`,
Expand Down
2 changes: 1 addition & 1 deletion src/ririkoBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ module.exports = client;
lastChance: {
enabled: true,
content: `🛑 **Last chance to enter** 🛑`,
threshold: 5000,
threshold: 60000,
embedColor: "#FF0000",
},
},
Expand Down

0 comments on commit 26fb681

Please sign in to comment.