Added leak and exec, moved from a config.json file to a .env file, other changes
This commit is contained in:
parent
ef071a39d4
commit
d661b58271
24 changed files with 216 additions and 58 deletions
|
@ -1,7 +1,7 @@
|
|||
const client = require("../utils/client.js");
|
||||
const database = require("../utils/database.js");
|
||||
const logger = require("../utils/logger.js");
|
||||
const config = require("../config.json");
|
||||
const messages = require("../messages.json");
|
||||
const misc = require("../utils/misc.js");
|
||||
|
||||
// run when ready
|
||||
|
@ -43,7 +43,7 @@ module.exports = async () => {
|
|||
|
||||
// set activity (a.k.a. the gamer code)
|
||||
(async function activityChanger() {
|
||||
client.editStatus("dnd", { name: `${misc.random(config.activityMessages)} | @esmBot help`, url: "https://essem.space/esmBot/commands.html?dev=true" });
|
||||
client.editStatus("dnd", { name: `${misc.random(messages)} | @esmBot help`, url: "https://essem.space/esmBot/commands.html?dev=true" });
|
||||
setTimeout(activityChanger, 900000);
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue