zerwyx-fn
v1.0.0
Published
find out if a nickname fortnite (epic games) exists
Downloads
8
Maintainers
Readme
Fortnite check pseudo name
Discord: ZeRwYX#9999
Exemple code:
client.on('messageCreate', async function(message) {
var args = message.content.split(" ").slice(0);
var msge = args.join(' ');
if (message.channel.name.includes('➕epic-name')) {
if(message.author.bot) return;
var args = message.content.split(" ").slice(0);
var msge = args.join(' ');
const fn = require('zerwyx-fn');
fn.getStats(msge, "pc", (err, result) => {
if(err){
return message.delete() & message.channel.send({ content: `<@${message.author.id}>, Invalid name !`, ephemeral: true })
}
message.channel.send({ content: `<@${message.author.id}>, Valid Name`, ephemeral: true });
message.delete()
});
}
})
```