Added gorb command

imgbot
kieranrobson 2022-05-10 12:22:04 +01:00
parent 53ffbf3d2b
commit ec1c4fa170
3 changed files with 17 additions and 2 deletions

15
commands/fun/gorb.js Normal file
View File

@ -0,0 +1,15 @@
const discord = require("discord.js");
module.exports = {
name: "gorb",
aliases: [''],
/**
*
* @param {Client} client
* @param {Message} message
* @param {String[]} args
*/
run: async (client, message, args) => {
message.channel.send({ files: ['./images/gorb.jpg'] })
},
};

View File

@ -3,13 +3,13 @@ const client = require("../index");
client.on('ready', () => {
console.log('HullCSS is online')
client.user.setActivity(`-help`, {type:"WATCHING"})
client.user.setActivity(`-help | hullcss.org` , {type:"WATCHING"})
const guild = client.guilds.cache.get('427865794467069962');
setInterval(() =>{
const memberCount = guild.members.cache.filter(m => !m.user.bot).size;
const memberCount = guild.members.cache.size;
const channel = guild.channels.cache.get('906167542249308160');
channel.setName(`Discord Members: ${memberCount.toLocaleString()}`);
}, 600000);

BIN
images/gorb.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB