diff options
| author | 8cy <[email protected]> | 2020-04-16 04:56:37 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-16 04:56:37 -0700 |
| commit | 8c435855e647ee7aef8578e253caf91fe44c67cc (patch) | |
| tree | ae0bb59de10ecec5ca2fc01dfa9190efd1f177ab /src/bot.ts | |
| parent | no longer hosting ws, v6.0.4 (diff) | |
| download | dep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.tar.xz dep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.zip | |
The Purification, v7.0.0
add:
- aesthetic, oddcase, stretch, surreal
- culturedtext
- dogeify
- howify
- insult
- lorem
- spongebob
Other Stuff:
- many refactoring
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,11 +2,10 @@ import config from './config.json'; import { CommandoClient } from 'discord.js-commando'; //import WS from './ws/ws'; import path from 'path'; -import { Structures } from 'discord.js'; +import { Structures, MessageAttachment } from 'discord.js'; import emoji from 'emoji-random'; Structures.extend('Guild', Guild => { class MusicGuild extends Guild { - musicData: { queue: never[]; isPlaying: boolean; volume: number; songDispatcher: null; }; constructor(client, data) { super(client, data); this.musicData = { @@ -19,7 +18,7 @@ Structures.extend('Guild', Guild => { } return MusicGuild; }); -// + const client = new CommandoClient({ commandPrefix: 'uwu!', owner: '217348698294714370' @@ -57,9 +56,10 @@ client.once('ready', () => { console.log('OS Version:', process.platform) console.log('Name:', `${client.user?.tag}`) console.log('ID:', `${client.user?.id}`) + console.log('Servers:', `${client.guilds.cache.size}`) console.log() - client.user.setActivity('uwu!help | v6.0.0', { + client.user.setActivity('uwu!help | v7.0.0', { type: 'WATCHING' }); }); @@ -81,7 +81,7 @@ client.on('message', async msg => { console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name + ' in ' + msg.guild.name); } } - + if (msg.mentions.everyone) { msg.react(emoji.random()); } |