SHARE
TWEET

Untitled

a guest Jun 16th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require('discord.js');
  2. const client = new Discord.Client();
  3.  
  4. const swearWords = ["darn", "shucks", "frak", "shite"];
  5. client.on('message', message => {
  6.  
  7. if( swearWords.some(word => message.content.includes(word)) ) {
  8.   message.reply("Oh no you said a bad word!!!");
  9.   message.delete();
  10. }
  11. });
  12.  
  13.  
  14.  
  15. client.on('message', msg => {
  16. if (msg.content === 'shit'){
  17.  
  18.  
  19. const shit = require('fortnite');
  20. // Create an instance of the client with your API Key
  21. const fortnite = new shit('nnnnnnnnnnnnnnnnn');
  22.  
  23. // All methods
  24. fortnite.user('ej lmao', 'pc').then(msg.reply(`${profile.stats.solo.Mode.score}`));
  25.  
  26. }
  27. });
  28.  
  29.  
  30.  
  31. client.login('gggggggggggggggggggg');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top