From 3f27d19d024eae9b78672ae0107d03bc4ca716fa Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 15:44:58 -0600 Subject: [PATCH] Update start.js Changed time between playing status changes from 10 seconds to 20. --- start.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start.js b/start.js index 708d3ac..f1b50a0 100644 --- a/start.js +++ b/start.js @@ -5,7 +5,6 @@ const { prefix, token } = require('./config.json'); const os = require("os") const version = "Test Release 21"; const release = "anitrox_unstable" -const buildno = "404" console.log('Starting!') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -40,7 +39,7 @@ client.once('ready', () => { setInterval(() => { const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); client.user.setActivity(activities_list[index]); -}, 10000); +}, 20000); client.on('message', message => { if (!message.content.startsWith(prefix) || message.author.bot) return; @@ -54,7 +53,7 @@ client.on('message', message => { client.commands.get(command).execute(client, message, args); } catch (error) { const embed = { - "title": "<:NyabotError:697145462347661412> ***An error occurred!***", + "title": "<:NyabotError:697145462347661412> **An error occurred!**", "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",