Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const client = new Discord.Client();
- const swearWords = ["darn", "shucks", "frak", "shite"];
- client.on('message', message => {
- if( swearWords.some(word => message.content.includes(word)) ) {
- message.reply("Oh no you said a bad word!!!");
- message.delete();
- }
- });
- client.on('message', msg => {
- if (msg.content === 'shit'){
- const shit = require('fortnite');
- // Create an instance of the client with your API Key
- const fortnite = new shit('nnnnnnnnnnnnnnnnn');
- // All methods
- fortnite.user('ej lmao', 'pc').then(msg.reply(`${profile.stats.solo.Mode.score}`));
- }
- });
- client.login('gggggggggggggggggggg');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement