Added gorb command
parent
53ffbf3d2b
commit
ec1c4fa170
|
@ -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'] })
|
||||
},
|
||||
};
|
|
@ -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);
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
Loading…
Reference in New Issue