Anitrox said to commit these changes

This commit is contained in:
BuildTools 2022-01-12 13:13:23 -06:00
parent cf28333a94
commit 157b948416
4 changed files with 6 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
node_modules node_modules
.vscode
package-lock.json package-lock.json
releasenotes.txt releasenotes.txt
config.json config.json

View File

@ -25,7 +25,7 @@ module.exports = {
"color": 13632027, "color": 13632027,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": "placeholder"
} }
} }
} }
@ -35,7 +35,7 @@ module.exports = {
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" "text": "placeholder"
}, },
"fields": [ "fields": [

View File

@ -3,7 +3,7 @@ module.exports = {
name: 'info', name: 'info',
description: 'Shows bot and host information', description: 'Shows bot and host information',
execute(client, message, args, footer) { execute(client, message, args) {
const { build, release } = require('../config.json'); const { build, release } = require('../config.json');
function Uptime(uptimetype) { function Uptime(uptimetype) {
let totalSeconds = (uptimetype / 1000); let totalSeconds = (uptimetype / 1000);
@ -23,7 +23,6 @@ module.exports = {
return uptime; return uptime;
}; };
const os = require("os") const os = require("os")
var osu = require('node-os-utils') var osu = require('node-os-utils')
var cpu = osu.cpu var cpu = osu.cpu
@ -33,7 +32,7 @@ module.exports = {
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": footer "text": "meow"
}, },
"thumbnail": { "thumbnail": {
"url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp")

View File

@ -3,7 +3,7 @@ console.log("Let's get started")
const fs = require('fs'); const fs = require('fs');
const Discord = require('discord.js'); const Discord = require('discord.js');
const { MessageActionRow, MessageButton } = require('discord.js') const { MessageActionRow, MessageButton } = require('discord.js')
const { build, release, prefix, token } = require('./config.json'); const { build, release, prefix, token, footer } = require('./config.json');
const os = require("os"); const os = require("os");
const activities_list = [ const activities_list = [
@ -21,8 +21,6 @@ const activities_list = [
console.log('Starting! This should only take a moment.') console.log('Starting! This should only take a moment.')
const client = new Discord.Client(); const client = new Discord.Client();
client.commands = new Discord.Collection(); client.commands = new Discord.Collection();
const footicon = "https://cdn.discordapp.com/attachments/803658122299572255/805506708352008232/system64.png"
const footer = "Anitrox, IDeletedSystem64 2018-2022"
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));