Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //SERVER.JS//
- const Discord = require ('discord.js');
- const client = new Discord.Client();
- client.on('ready', () => {
- console.log('bot is ready!');
- client.user.setActivity('zTaDev', { type: 'STREAMING',url:"https://youtube.com/zDrarMc"}).catch
- });
- client.on('message', async message =>{
- if(message.author.bot) return;
- if(message.content.startsWith('uwu')){
- message.channel.send('owo')
- }
- })
- client.login('YOUR BOT TOKEN');
- //WATCH.JSON//
- {
- "install": {
- "include": [
- "^package\\.json$",
- "^\\.env$"
- ]
- },
- "restart": {
- "exclude": [
- "^public/",
- "^dist/"
- ],
- "include": [
- "\\.js$",
- "\\.json"
- ]
- },
- "throttle": 900000
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement