Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- } if (command === '!!zgłoś') {
- const hook = new Discord.WebhookClient('474598551914283009', 'dZAXiS6WByKV0KRKWp78SHAqEaHb3ZEzowInBT_o2CLY6NWcWLffzU8lfVjW59YILm4i');
- const defaultChannel = message.guild.channels.find(c=> message.member.hasPermission('SEND_MESSAGES'));
- let invite = await defaultChannel.createInvite();
- let z = args.join(' ');
- hook.send(z + `\n\n**${message.author.username}#${message.author.discriminator}**, **${message.guild.name}**, ${invite}`);
- }
Add Comment
Please, Sign In to add comment