Advertisement
zTa

Tuto yt

zTa
Aug 11th, 2020 (edited)
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //SERVER.JS//
  2.  
  3. const Discord = require ('discord.js');
  4. const client = new Discord.Client();
  5.  
  6. client.on('ready', () => {
  7.   console.log('bot is ready!');
  8. client.user.setActivity('zTaDev', { type: 'STREAMING',url:"https://youtube.com/zDrarMc"}).catch
  9. });
  10. client.on('message', async message =>{
  11.   if(message.author.bot) return;
  12.  
  13.   if(message.content.startsWith('uwu')){
  14.     message.channel.send('owo')
  15.   }
  16. })
  17.  
  18. client.login('YOUR BOT TOKEN');
  19.  
  20. //WATCH.JSON//
  21.  
  22. {
  23. "install": {
  24.   "include": [
  25.     "^package\\.json$",
  26.     "^\\.env$"
  27.   ]
  28. },
  29.  
  30. "restart": {
  31.   "exclude": [
  32.     "^public/",
  33.     "^dist/"
  34.   ],
  35.  
  36.   "include": [
  37.     "\\.js$",
  38.     "\\.json"
  39.   ]
  40. },
  41. "throttle": 900000
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement