Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.on ('message', async (toxicc) => {
- if (!toxicc.guild || toxicc.author.bot) return false;
- var prefix = "!";
- switch (toxicc.content.split(' ') [0]){
- case prefix + 'رابط':
- toxicc.guild.channels.get (toxicc.channel.id).createInvite({maxUses: 10}).then ((url) => {
- toxicc.author.send ("تم انشاء رابط\nمدى الرابط: يوم\nاقصى حد للاستخدام: 10\n"+url);
- toxicc.channel.send("Check Your DM.");
- })
- break;
- }
- })
- //By 3Mo_Steve || Toxic Codes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement