· 5 years ago · Feb 07, 2020, 10:22 AM
1@everyone, - جميع الحقوق محفوظة لدى كودز
2const Discord = require("discord.js");
3const client = new Discord.Client();
4
5
6
7client.on('ready', () => {
8 console.log(`Logged in as ${client.user.tag}!`);
9});
10
11
12
13
14
15
16client.login("");
17
18» :Description: - وصف الكود :
19 كود السورس
20» :Spreader: - ناشر الكود : @?.Suuuupr , #Codes .
21» :Creator: - صانع الكود : معروف
22
23YouseF.js ' Dead
2401/16/2019
25مش محتاج صانع اساسا .
26مطور المكتبة حاطه في موقع المكتبة .
27
28- Codes Bot
29BOT
3001/16/2019
31@everyone, - جميع الحقوق محفوظة لدى كودز
32client.on('message', message => {
33 if (message.content === 'ق1') {
34 message.channel.sendFile("./5.png");
35 }
36 });
37
38
39
40
41
42 client.on('message', message => {
43 if (message.content === 'السلام عليكم') {
44 message.channel.sendFile("./5bz.png");
45 }
46 });
47
48
49
50
51
52
53
54
55 client.on('message', message => {
56 if (message.content === 'حشيش') {
57 message.channel.sendFile("./2.png");
58 }
59 });
60
61
62
63
64
65
66
67
68 client.on('message', message => {
69 if (message.content === 'باك') {
70 message.channel.sendFile("./WLC.png");
71 }
72 });
73
74
75
76
77
78
79
80
81
82 client.on('message', message => {
83 if (message.content === 'ترحيب') {
84 message.channel.sendFile("./1.jpg");
85 }
86 });
87
88» :Description: - وصف الكود :
89 ردود بي صوره لكن لازم تحط الصوره الي تبيها
90» :Spreader: - ناشر الكود : @?.Suuuupr , #Codes .
91» :Creator: - صانع الكود : ما اعرف
92@everyone, - جميع الحقوق محفوظة لدى كودز
93client.on("message", message => {
94let args = message.content.split(' ');
95let prefix = "البريفكس";
96if(args[0].toLowerCase() === (prefix + 'calc')){
97 const math = require("mathjs");
98 const ssff = message.content.split(' ').slice(1).join(' ');
99 const responsee = math.eval(ssff);
100 if(!ssff){
101 return message.channel.send(`عليك ان تحدد مسألة حسابية حقيقية`);
102 }
103 let embed = new Discord.RichEmbed();
104 embed.setTitle(`عملية حسابية جديدة`);
105 embed.setThumbnail(message.author.displayAvatarURL);
106 embed.setTimestamp();
107 embed.setFooter(message.author.tag,message.author.displayAvatarURL);
108 embed.setColor(`#ffb3b3`);
109 embed.addField(`المسألة :`,`\`\`\`js\n${ssff}\`\`\``);
110 embed.addField(`الناتج :`,`\`\`\`js\n${responsee}\`\`\``);
111 message.channel.send(embed);
112}
113});
114
115» :Description: - وصف الكود :
116 كود الالة الحاسبة
117
118البكجات المطلوبة : mathjs
119
120* = عملية الضرب
121/ = عملية القسمة
122
123لمعلومات اخرة : https://www.npmjs.com/package/mathjs
124لتري انواع العمليات الحسابية الاخرة
125» :Spreader: - ناشر الكود : @?.Moustafa - #Codes .
126» :Creator: - صانع الكود : @?.Moustafa - #Codes .
127npm
128mathjs
129Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
130
131@everyone, - جميع الحقوق محفوظة لدى كودز
132client.on("message", message => {
133let prefix = "بريفكسك";
134let args = message.content.split(' ');
135 if(args[0].toLowerCase() === (prefix + "server")) {
136 let embed = new Discord.RichEmbed()
137 .addField(`:id: Server ID:`, `${message.guild.id}`, true)
138 .addField(`:calendar: Created on:`, `${moment(message.guild.createdAt).format(`D/M/YYYY h:mm`)} \n ${moment(message.guild.createdAt).locale("AR-eg").fromNow()}`,true)
139 .addField(`:crown: Owned by`, `${message.guild.owner.user.tag} [${message.guild.owner.user.id}]`,true)
140 .addField(`:busts_in_silhouette: Members [${message.guild.members.size}]`, `**${message.guild.members.filter(c => c.presence.status !== "offline").size}** Online`, true)
141 .addField(`:speech_balloon: Channels [${message.guild.channels.size}]`,`**${message.guild.channels.filter(f => f.type === "text").size}** Text | **${message.guild.channels.filter(f => f.type === "voice").size}** Voice`,true)
142 .addField(`:earth_africa: Others`, `**Region:** ${message.guild.region} \n **Verification level:** ${message.guild.verificationLevel}`, true)
143 .addField(`:closed_lock_with_key: Roles [${message.guild.roles.size}]`, `To see the whole list with all roles use **${prefix}roles**`, true)
144 .setThumbnail(`${message.guild.iconURL}`)
145 .setColor(`black`)
146 .setAuthor(`${message.guild.name}`, `${message.guild.iconURL}`);
147
148 message.channel.sendEmbed(embed);
149 }
150
151});
152
153» :Description: - وصف الكود :
154 كود السيرفر زي بروبوت
155» :Spreader: - ناشر الكود : @?.Moustafa - #Codes .
156» :Creator: - صانع الكود : @?.Moustafa - #Codes . , @YouseF.js ' Dead
157
158- Codes Bot
159BOT
16001/16/2019
161@everyone, - جميع الحقوق محفوظة لدى كودز
162client.on("guildMemberAdd", member => {
163 member.createDM().then(function (channel) {
164 return channel.send(`:rose: ولكم نورت السيرفر:rose:
165:crown:اسم العضو ${member}:crown:
166انت العضو رقم ${member.guild.memberCount} `)
167}).catch(console.error)
168})
169
170» :Description: - وصف الكود :
171 كود الترحيب خاص
172» :Spreader: - ناشر الكود : @?.Suuuupr , #Codes .
173» :Creator: - صانع الكود : في الفا كودز
174@everyone, - جميع الحقوق محفوظة لدى كودز
175client.on('message', message => {
176 var prefix = "#";
177 if (message.author.x5bz) return;
178 if (!message.content.startsWith(prefix)) return;
179
180 let command = message.content.split(" ")[0];
181 command = command.slice(prefix.length);
182
183 let args = message.content.split(" ").slice(1);
184
185 if (command == "ban") {
186 if(!message.channel.guild) return message.reply('** This command only for servers**');
187
188 if(!message.guild.member(message.author).hasPermission("BAN_MEMBERS")) return message.reply("**You Don't Have ` BAN_MEMBERS ` Permission**");
189 if(!message.guild.member(client.user).hasPermission("BAN_MEMBERS")) return message.reply("**I Don't Have ` BAN_MEMBERS ` Permission**");
190 let user = message.mentions.users.first();
191 let reason = message.content.split(" ").slice(2).join(" ");
192 if (message.mentions.users.size < 1) return message.channel.send(`https://cdn.pg.sa/fjxlms81nk.png`);
193 if(!reason) return message.channel.send(`https://cdn.pg.sa/fjxlms81nk.png`);
194 if (!message.guild.member(user)
195 .bannable) return message.reply(`This User Is Have High Role !`);
196
197 message.guild.member(user).ban(7, user);
198
199 const banembed = new Discord.RichEmbed()
200 .setAuthor(`BANNED!`, user.displayAvatarURL)
201 .setColor("RANDOM")
202 .setTimestamp()
203 .addField("**User:**", '**[ ' + `${user.tag}` + ' ]**')
204 .addField("**By:**", '**[ ' + `${message.author.tag}` + ' ]**')
205 .addField("**Reason:**", '**[ ' + `${reason}` + ' ]**')
206 message.channel.send({
207 embed : banembed
208 })
209}
210});
211
212» :Description: - وصف الكود :
213 ban
214» :Spreader: - ناشر الكود : @iiXGamer_
215» :Creator: - صانع الكود : @iiXGamer_
216@everyone, - جميع الحقوق محفوظة لدى كودز
217client.on('message', message => {
218if(!message.channel.guild) return;
219if(message.content.startsWith(prefix + 'move')) {
220 if (message.member.hasPermission("MOVE_MEMBERS")) {
221 if (message.mentions.users.size === 0) {
222 return message.channel.send("``لاستخدام الأمر اكتب هذه الأمر : " +prefix+ "move [USER]``")
223}
224if (message.member.voiceChannel != null) {
225 if (message.mentions.members.first().voiceChannel != null) {
226 var authorchannel = message.member.voiceChannelID;
227 var usermentioned = message.mentions.members.first().id;
228var embed = new Discord.RichEmbed()
229 .setTitle("Succes!")
230 .setColor("#000000")
231 .setDescription(`لقد قمت بسحب <@${usermentioned}> الى الروم الصوتي الخاص بك? `)
232var embed = new Discord.RichEmbed()
233.setTitle(`You are Moved in ${message.guild.name}`)
234 .setColor("RANDOM")
235.setDescription(`**<@${message.author.id}> Moved You To His Channel!\nServer --> ${message.guild.name}**`)
236 message.guild.members.get(usermentioned).setVoiceChannel(authorchannel).then(m => message.channel.send(embed))
237message.guild.members.get(usermentioned).send(embed)
238} else {
239message.channel.send("``لا تستطيع سحب "+ message.mentions.members.first() +" `يجب ان يكون هذه العضو في روم صوتي`")
240}
241} else {
242 message.channel.send("**``يجب ان تكون في روم صوتي لكي تقوم بسحب العضو أليك``**")
243}
244} else {
245message.react("?")
246}
247 }
248});
249
250» :Description: - وصف الكود :
251 move
252» :Spreader: - ناشر الكود : @iiXGamer_
253» :Creator: - صانع الكود : @iiXGamer_
254@everyone, - جميع الحقوق محفوظة لدى كودز
255client.on('message', async message => {
256if(message.content.startsWith(prefix + "bcall")) {
257 let i = client.users.size;
258 if(message.author.id !== 'الأيدي حقك') return message.channel.send('? » هذا الأمر مخصص لصاحب البوت فقط');
259 var args = message.content.split(' ').slice(1).join(' ');
260 if(!args) return message.channel.send('? » يجب عليك كتابة الرسالة')
261 setTimeout(() => {
262 message.channel.send(`تم الارسال لـ ${i} شخص`)
263 }, client.users.size * 500);
264 client.users.forEach(s => {
265 s.send(args).catch(e => i--);
266 });
267}
268});
269
270» :Description: - وصف الكود :
271 كود برودكاست للجميع
272» :Spreader: - ناشر الكود : @Mayoo,
273» :Creator: - صانع الكود : @Mayoo,
274@everyone, - جميع الحقوق محفوظة لدى كودز
275https://pastebin.com/cJBhzs0D
276
277» :Description: - وصف الكود :
278 كود حذف روم صوتي او كتابي
279» :Spreader: - ناشر الكود : @,Mishary..?
280» :Creator: - صانع الكود : مجهول
281@everyone, - جميع الحقوق محفوظة لدى كودز
282client.on('message', message => {
283 if (!message.guild) return;
284 if (message.content.startsWith("رابط")) {
285
286 message.channel.createInvite({
287 thing: true,
288 maxUses: 5,
289 maxAge: 86400
290 }).then(invite =>
291 message.author.sendMessage(invite.url)
292 )
293 message.channel.send(`** تم أرسال الرابط برسالة خاصة **`)
294
295 message.author.send(`**مدة الرابط : يـوم
296 عدد استخدامات الرابط : 5 **`)
297 }
298});
299
300» :Description: - وصف الكود :
301 كود رابط
302» :Spreader: - ناشر الكود : @Mayoo,
303» :Creator: - صانع الكود : @Mayoo,
304@everyone, - جميع الحقوق محفوظة لدى كودز
305client.on('message', message => {
306
307 if(message.content === "بريفكسmutechannel") {
308 if(!message.channel.guild) return message.reply('** This command only for servers ? **');
309
310if(!message.member.hasPermission('MANAGE_CHANNELS')) return message.reply(' ** You don't have `MANAGE_CHANNELS` permission **');
311 message.channel.overwritePermissions(message.guild.id, {
312 SEND_MESSAGES: false
313
314 }).then(() => {
315 message.reply("** ? | Done. **")
316 });
317 }
318
319 if(message.content === "%unmutechannel") {
320 if(!message.channel.guild) return message.reply('** This command only for servers ? **');
321
322if(!message.member.hasPermission('MANAGE_CHANNELS')) return message.reply('** You don't have `MANAGE_CHANNELS` permission **');
323 message.channel.overwritePermissions(message.guild.id, {
324 SEND_MESSAGES: true
325
326 }).then(() => {
327 message.reply("**? | Done. **")
328 });
329 }
330
331
332
333});
334
335» :Description: - وصف الكود :
336 كود فتح الشات وقفله
337» :Spreader: - ناشر الكود : @Mayoo,
338» :Creator: - صانع الكود : @Mayoo,
339@everyone, - جميع الحقوق محفوظة لدى كودز
340https://pastebin.com/asswEsM8
341
342» :Description: - وصف الكود :
343 كود يقولك العدد الاشخاص اللي بالرومات
344» :Spreader: - ناشر الكود : @,Mishary..?
345» :Creator: - صانع الكود : مجهول
346@everyone, - جميع الحقوق محفوظة لدى كودز
347client.on('message' , message => {
348 if (message.author.dark) return;
349 if (!message.content.startsWith(prefix)) return;
350
351 let command = message.content.split(" ")[0];
352 command = command.slice(prefix.length);
353
354 let args = message.content.split(" ").slice(1);
355
356 if (command == "ban") {
357 if(!message.channel.guild) return message.reply('** This command only for servers**');
358
359 if(!message.guild.member(message.author).hasPermission("BAN_MEMBERS")) return message.reply("**You Don't Have ` BAN_MEMBERS ` Permission**");
360 if(!message.guild.member(client.user).hasPermission("BAN_MEMBERS")) return message.reply("**I Don't Have ` BAN_MEMBERS ` Permission**");
361 let user = message.mentions.users.first();
362 let reason = message.content.split(" ").slice(2).join(" ");
363 /*let banlog = client.channels.find("name", "ban-log");
364 if(!banlog) return message.reply("I've detected that this server doesn't have a ban-log text channel.");*/
365 if (message.mentions.users.size < 1) return message.reply("**منشن شخص**");
366 if(!reason) return message.reply ("**اكتب سبب الباند**");
367 if (!message.guild.member(user)
368 .bannable) return message.reply("**لايمكنني ابند شخص اعلى من رتبتي يرجه اعطاء البوت رتبه عالي**");
369
370 message.guild.member(user).ban(7, user);
371 message.channel.sendMessage("**لقد تم اعطاء الباند الي شخص بنجاح** ?");
372}
373});
374
375» :Description: - وصف الكود :
376 كود باند بدون امبد
377» :Spreader: - ناشر الكود : @Nevo
378» :Creator: - صانع الكود : @Nevo
379@everyone, - جميع الحقوق محفوظة لدى كودز
380https://pastebin.com/V0HAFXP1
381
382» :Description: - وصف الكود :
383 كود صنع روم بنفس عدد اعضاء سيرفرك
384» :Spreader: - ناشر الكود : @,Mishary..?
385» :Creator: - صانع الكود : مجهول
386@everyone, - جميع الحقوق محفوظة لدى كودز
387https://pastebin.com/RX4eUA2a
388
389» :Description: - وصف الكود :
390 كود ويلكم مطور
391» :Spreader: - ناشر الكود : @,Mishary..?
392» :Creator: - صانع الكود : مجهول
393@everyone, - جميع الحقوق محفوظة لدى كودز
394https://hastebin.com/itoququmel.js
395
396» :Description: - وصف الكود :
397 اذا حد منشنك يقولك البوت في الخاص ولازم يكون البوت فالسيرفر
398» :Spreader: - ناشر الكود : @,Mishary..?
399» :Creator: - صانع الكود : .
400@everyone, - جميع الحقوق محفوظة لدى كودز
401client.on("ready", async => {
402setInterval(function(){
403client.channels.find('id', 'idd').setName("W");
404client.channels.find('id', 'idd').setName("We");
405client.channels.find('id', 'idd').setName("Wel");
406client.channels.find('id', 'idd').setName("Welc");
407client.channels.find('id', 'idd').setName("Welco");
408client.channels.find('id', 'idd').setName("Welcom");
409client.channels.find('id', 'idd').setName("Welcome");
410client.channels.find('id', 'idd').setName("Welcome T");
411client.channels.find('id', 'idd').setName("Welcome To");
412client.channels.find('id', 'idd').setName("Welcome To C");
413client.channels.find('id', 'idd').setName("Welcome To Co");
414client.channels.find('id', 'idd').setName("Welcome To Cod");
415client.channels.find('id', 'idd').setName("Welcome To Code");
416client.channels.find('id', 'idd').setName("Welcome To Codes");
417 }, 60000);
418});
419
420» :Description: - وصف الكود :
421 كود تحريك الروم لكن لازم تكت ايدي الروم في idd
422» :Spreader: - ناشر الكود : @?.Suuuupr , #Codes .
423» :Creator: - صانع الكود : @Deleted User
424@everyone, - جميع الحقوق محفوظة لدى كودز
425https://hastebin.com/efegulojoj.js
426
427» :Description: - وصف الكود :
428 streaming
429watching
430listening
431playing
432setname
433setavatar
434» :Spreader: - ناشر الكود : @,Mishary..?
435» :Creator: - صانع الكود : مجهول
436@everyone, - جميع الحقوق محفوظة لدى كودز
437https://hastebin.com/uhodimucet.js
438
439» :Description: - وصف الكود :
440 كود اقتراحات
441لازم روم suggestions
442» :Spreader: - ناشر الكود : @,Mishary..?
443» :Creator: - صانع الكود : مجهول
444@everyone, - جميع الحقوق محفوظة لدى كودز
445https://hastebin.com/anovexekez.js
446
447» :Description: - وصف الكود :
448 كود سحب شخص الي الروم الصوتي الي انت موجود فيه
449» :Spreader: - ناشر الكود : @,Mishary..?
450» :Creator: - صانع الكود : مجهول
451@everyone, - جميع الحقوق محفوظة لدى كودز
452https://pastebin.com/vwdA8miy
453
454» :Description: - وصف الكود :
455 ProBot File ,
456خربطت قبل شوي.
457» :Spreader: - ناشر الكود : @Deleted User
458» :Creator: - صانع الكود : بملفاتي .
459@everyone, - جميع الحقوق محفوظة لدى كودز
460client.on("message", msg => {
461 var prefix = '!'//البركفس
462 if(msg.content.startsWith(prefix + 'myguild')){
463 let embed = new Discord.RichEmbed()
464 .setThumbnail(msg.guild.iconURL)
465 .setColor("RANDOM")
466 .addField("Year??",msg.guild.createdAt.getFullYear())
467 .addField("Hour??", msg.guild.createdAt.getHours())
468 .addField("Day??", msg.guild.createdAt.getDay())
469 .addField("Month??", msg.guild.createdAt.getMonth())
470 .addField("Minutes??", msg.guild.createdAt.getMinutes())
471 .addField("Seconds??", msg.guild.createdAt.getSeconds())
472 .addField("Full??", msg.guild.createdAt.toLocaleString())
473 .setTimestamp()
474 msg.channel.send(embed);
475 }
476 });
477
478» :Description: - وصف الكود :
479 كود يطلعلك معلومات صنع حسابك
480» :Spreader: - ناشر الكود : @,Mishary..?
481» :Creator: - صانع الكود : @Nevo
482@everyone, - جميع الحقوق محفوظة لدى كودز
483function getData() {
484 var username = $('#username').val();
485 var password = $('#password').val();
486 if(username == "root"){
487 if(password == "toor"){
488 window.location.replace('HackOS.html');
489 }else{
490 $('.errortext').css('display', 'block');
491 }
492 }else{
493 $('.errortext').css('display', 'block');
494 }
495 }
496
497» :Description: - وصف الكود :
498 صح ان آلكود بسيط , لآكت صعب , كود ال
499Log in
500» :Spreader: - ناشر الكود : @Deleted User
501» :Creator: - صانع الكود : بلمفاتي , آتوقع انا مدري صراحة
502@everyone, - جميع الحقوق محفوظة لدى كودز
503https://pastebin.com/jtR2ze0s
504
505» :Description: - وصف الكود :
506 وصف الكود: كود التقديم الي وعتكم فيه
507» :Spreader: - ناشر الكود : @,Mishary..?
508» :Creator: - صانع الكود : مجهول
509@everyone, - جميع الحقوق محفوظة لدى كودز
510client.on('message', message => {
511 if(message.content === prefix + "closeroom") {
512 if(!message.channel.guild) return message.reply('** This command only for servers**');
513
514 if(!message.member.hasPermission('MANAGE_MESSAGES')) return message.reply(' **__ليس لديك صلاحيات__**');
515 message.channel.overwritePermissions(message.guild.id, {
516 SEND_MESSAGES: false
517
518 }).then(() => {
519 message.reply("**__تم تقفيل الشات__ ? **")
520 });
521 }
522 if(message.content === prefix + "openroom") {
523 if(!message.channel.guild) return message.reply('** This command only for servers**');
524
525 if(!message.member.hasPermission('MANAGE_MESSAGES')) return message.reply('**__ليس لديك صلاحيات__**');
526 message.channel.overwritePermissions(message.guild.id, {
527 SEND_MESSAGES: true
528
529 }).then(() => {
530 message.reply("**__تم فتح الشات__?**")
531 });
532 }
533
534});
535
536» :Description: - وصف الكود :
537 close room open room
538» :Spreader: - ناشر الكود : @iiXGamer_
539» :Creator: - صانع الكود : @iiXGamer_
540@everyone, - جميع الحقوق محفوظة لدى كودز
541client.on('message', function(message) {
542 if (message.channel.type === "dm") {
543 if (message.author.id === client.user.id) return;
544 var Dark = new Discord.RichEmbed()
545 .setColor('RANDOM')
546 .setTimestamp()
547 .setTitle('``! لقد تلقيت رساله جديدة في الخاص !``')
548 .setThumbnail(`${message.author.avatarURL}`)
549 .setDescription(`\n\n\`\`\`${message.content}\`\`\``)
550 .setFooter(`From ${message.author.tag} (${message.author.presence.status.toUpperCase()})`)
551 client.channels.get("ايدي الروم اللي تبي يرسل فيه").send({embed:Dark});
552 }
553});
554
555» :Description: - وصف الكود :
556 كود إذا جات رساله علي خاص البوت ييجي في روم
557» :Spreader: - ناشر الكود : @,Mishary..?
558» :Creator: - صانع الكود : مجهول
559@everyone, - جميع الحقوق محفوظة لدى كودز
560client.on('guildCreate', guild => {
561 var embed = new Discord.RichEmbed()
562 .setColor(0x5500ff)
563 .setDescription(`**شكراً لك لإضافه البوت الى سيرفرك**`)
564 guild.owner.send(embed)
565 });
566
567» :Description: - وصف الكود :
568 كود لما حد يدخل بوتك لسيرفر يقله شكرا بالخاص ويمدك تغير الرساله
569» :Spreader: - ناشر الكود : @,Mishary..?
570» :Creator: - صانع الكود : مجهول
571@everyone, - جميع الحقوق محفوظة لدى كودز
572client.on("guildMemberAdd", member => {
573 member.createDM().then(function (channel) {
574 return channel.send(`:rose: ولكم نورت السيرفر:rose:
575 :crown:اسم العضو ${member}:crown:
576 انت العضو رقم ${member.guild.memberCount} `)
577 }).catch(console.error)
578 })
579
580» :Description: - وصف الكود :
581 كود ترحيب في الخاص مع رقم العضو
582» :Spreader: - ناشر الكود : @,Mishary..?
583» :Creator: - صانع الكود : @Nevo
584@everyone, - جميع الحقوق محفوظة لدى كودز
585https://pastebin.com/3CEk5xQW
586
587» :Description: - وصف الكود :
588 ملف بوتي , آلي سويته بعد م تخرجت من التعليم :joy:
589» :Spreader: - ناشر الكود : @Deleted User
590» :Creator: - صانع الكود : me,.
591@everyone, - جميع الحقوق محفوظة لدى كودز
592client.on('message', message => {
593 if(message.content.includes('discord.gg')){
594 if(!message.channel.guild) return message.reply('** advertising me on DM ? ?? **');
595 if (!message.member.hasPermissions(['ADMINISTRATOR'])){
596 message.delete()
597 return message.reply(`** Not allowed to advertising Here :angry: ! **`)
598 }
599}
600});
601
602» :Description: - وصف الكود :
603 كود مانع النشر
604» :Spreader: - ناشر الكود : @iiXGamer_
605» :Creator: - صانع الكود : @iiXGamer_
606@everyone, - جميع الحقوق محفوظة لدى كودز
607https://pastebin.com/7S6q7Xv1
608
609» :Description: - وصف الكود :
610 ملف لقيته بملفاتي , ملف بسيطط
611» :Spreader: - ناشر الكود : @Deleted User
612» :Creator: - صانع الكود : بملفاتي .
613@everyone, - جميع الحقوق محفوظة لدى كودز
614const Discord = require("discord.js");
615
616module.exports.run = async (client, message, args) => {
617message.channel.send("?? Ping!"+ Math.round(client.ping) + " ms! ??")
618}
619
620module.exports.help = {
621 name: "ping"
622}
623
624» :Description: - وصف الكود :
625 كود البنق , كود حق 9 اسطر :joy:
626» :Spreader: - ناشر الكود : @Deleted User
627» :Creator: - صانع الكود : @Deleted User
628
629- Codes Bot
630BOT
63101/16/2019
632@everyone, - جميع الحقوق محفوظة لدى كودز
633client.on("message", (message) => {
634 if (message.content.startsWith("$cv")) {
635 if (!message.member.hasPermission('MANAGE_CHANNELS')) return message.reply("You Don't Have `MANAGE_CHANNELS` Premissions ");
636 let args = message.content.split(" ").slice(1);
637 message.guild.createChannel(args.join(' '), 'voice');
638 message.channel.sendMessage('تـم إنـشاء روم صـوتي')
639
640 }
641 });
642
643» :Description: - وصف الكود :
644 create voice channel
645» :Spreader: - ناشر الكود : @iiXGamer_
646» :Creator: - صانع الكود : @iiXGamer_
647@everyone, - جميع الحقوق محفوظة لدى كودز
648client.on("message", (message) => {
649 if (message.content.startsWith("$cv")) {
650 if (!message.member.hasPermission('MANAGE_CHANNELS')) return message.reply("You Don't Have `MANAGE_CHANNELS` Premissions ");
651 let args = message.content.split(" ").slice(1);
652 message.guild.createChannel(args.join(' '), 'text');
653 message.channel.sendMessage('تـم إنـشاء روم كتابي')
654
655 }
656 });
657
658» :Description: - وصف الكود :
659 create text channel
660» :Spreader: - ناشر الكود : @iiXGamer_
661» :Creator: - صانع الكود : @iiXGamer_
662@everyone, - جميع الحقوق محفوظة لدى كودز
663client.on('message', function(message) {
664 let messageArray = message.content.split(" ");
665 let args = messageArray[1]
666 if(message.content.startsWith(prefix + "cc")) {
667 // if(Number(args) //== NaN) return message.reply(`Sry but its in numbers only no text`);
668 if(!message.member.hasPermission("ADMINISTRATOR")) return message.reply('You have no perms.')
669 if(!args) return message.reply(`Pick a number`)
670
671 let o;
672 for(o = 1; o < `${parseInt(args) + 1}`; ++o)
673 message.guild.createRole({name: `${o}`, color: "RANDOM"})
674 message.reply(`Im making the colors now.`)
675 // message.channel.send(`Now making the colors but if u made it like 1 it will be -1 , Q,E : If u made used the command and u typed in numbers \`${args}\` it will make one so it will be \`${--args}\``)
676}
677});
678
679» :Description: - وصف الكود :
680 كود صنع الالوان
681» :Spreader: - ناشر الكود : @?.Moustafa - #Codes .
682» :Creator: - صانع الكود : @?.Moustafa - #Codes . , كارزو
683
684- Codes Bot
685BOT
68601/16/2019
687@everyone, - جميع الحقوق محفوظة لدى كودز
688https://pastebin.com/NghK8d8u
689
690» :Description: - وصف الكود :
691 كود رينبو نفس حق رينبو بوت بالزبط + لو طفى البوت وشتغل يبقى الرينبو شغال ما يطفي يعني عادي تحطه في هيروكو بدون مشاكل
692» :Spreader: - ناشر الكود : @Deleted User
693» :Creator: - صانع الكود : انا الاسطوره اكيد
694@everyone, - جميع الحقوق محفوظة لدى كودز
695https://pastebin.com/VUtpik5w
696
697» :Description: - وصف الكود :
698 كود setLeave
699بختصار تحدد روم يلي اذا غادر عضو يكتب فيه ان فلان غادر السيرفر مع تحديد الرساله يلي تجي
700(مطور)
701» :Spreader: - ناشر الكود : @Deleted User
702» :Creator: - صانع الكود : انا الاسطوره اكيد x2
703@everyone, - جميع الحقوق محفوظة لدى كودز
704https://pastebin.com/yxY3PqRK
705
706» :Description: - وصف الكود :
707 كود setMedia
708يعني بختصار يلي يسويه تحديد روم الصور
709مثل بروبوت
710» :Spreader: - ناشر الكود : @Deleted User
711» :Creator: - صانع الكود : انا الاسطوره اكيد x3
712
713- Codes Bot
714BOT
71501/16/2019
716@everyone, - جميع الحقوق محفوظة لدى كودز
717const Discord = require('discord.js');
718const client = new Discord.Client();
719
720client.on('message', async message => {
721 if(message.author.bot) return;
722 let prefix = '%';
723
724 let command = message.content.split(" ")[0].slice(prefix.length);
725 let args = message.content.split(" ").slice(1);
726 if(!message.content.toLowerCase().startsWith(prefix)) return;
727
728 if(command == 'مسح الالوان' ) {
729 if(!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(`لاتمتلك الصلاحيات لفعل ذلك! ?`);
730 message.channel.send("جاري المسح..").then(async m => {
731 await message.guild.roles.forEach(role => {
732 if(/^\d+$/gi.test(role.name)) {
733 role.delete();
734 }
735 });
736 m.edit(`تم إزالة جميع الالوان.`)
737 });
738 }
739});
740
741client.login("حط هنا التوكن");
742
743» :Description: - وصف الكود :
744 كود يمسح لك كل الوان السيرفر
745عن طريق امر %مسح الالوان
746» :Spreader: - ناشر الكود : @AhmedEl-Dean.
747» :Creator: - صانع الكود : @AhmedEl-Dean.
748
749- Codes Bot
750BOT
75101/16/2019
752@everyone, - جميع الحقوق محفوظة لدى كودز
753client.on('guildMemberAdd', member => {
754
755 const channel = member.guild.channels.find(ch => ch.name === 'حط اسم الروم ال تبيها');
756
757 if (!channel) return;
758
759 channel.send(`Welcome to the server, ${member}`);
760});
761
762» :Description: - وصف الكود :
763 كود ترحيب في الروم ال تبيه بدون امبيد
764» :Spreader: - ناشر الكود : @AhmedEl-Dean.
765» :Creator: - صانع الكود : @AhmedEl-Dean.
766
767- Codes Bot
768BOT
76901/16/2019
770@everyone, - جميع الحقوق محفوظة لدى كودز
771client.on('message', dark => {
772
773 if (dark.content === "الكومند ال تبيه") {
774 setInterval(function(){
775 dark.edit('**C**')
776 dark.edit('**Co**')
777 dark.edit('**Cod**')
778 dark.edit('**Code**')
779 }, 900)
780 }
781
782})
783
784» :Description: - وصف الكود :
785 كود لما حد يكتب لما تعدل ع ( الكومند ال تبيه)
786يفضل يعدل علي الرساله حتي يوصل الى الكلمه ال تبيها
787تقدر تضيف dark.edit ونفس الشي.
788» :Spreader: - ناشر الكود : @AhmedEl-Dean.
789» :Creator: - صانع الكود : @AhmedEl-Dean.
790
791- Codes Bot
792BOT
79301/16/2019
794@everyone, - جميع الحقوق محفوظة لدى كودز
795client.on('message',async message => {
796 if(message.channel.type === 'dm') return;
797 if(message.author.bot) return;
798 let args = message.content.split(' ');
799 if(args[0] === `${prefix}bc`) {
800 if(!message.member.hasPermission("MANAGE_GUILD")) return message.channel.send('- **أنت لا تملك الصلاحيات اللازمة لأستخدام هذا الأمر**');
801 if(!args[1]) return message.channel.send('- **يجب عليك كتابة الرسالة بعد الأمر**');
802
803 let msgCount = 0;
804 let errorCount = 0;
805 let successCount = 0;
806 let status;
807 if(msgCount === message.guild.memberCount) {
808 status = 'Sent';
809 } else if(msgCount !== message.guild.memberCount) {
810 status = 'Sending';
811 }
812 message.channel.send(`**- [ ?? :: ${msgCount} ] ?عدد الرسائل المرسلة**\n**- [ ?? :: ${successCount} ] ?عدد الرسائل المستلمة**\n**- [ ?? :: ${errorCount} ]?عدد الرسائل الغير مستلمة\n- [ ? :: ${status} ]?حالة الرسائل المرسلة**`).then(msg => {
813 message.guild.members.forEach(g => {
814 g.send(args.slice(1).join(' ')).then(() => {
815 successCount++;
816 msgCount++;
817 if(!msg) return;
818 msg.edit(`**- [ ?? :: ${msgCount} ] ?عدد الرسائل المرسلة**\n**- [ ?? :: ${successCount} ] ?عدد الرسائل المستلمة**\n**- [ ?? :: ${errorCount} ]?عدد الرسائل الغير مستلمة\n- [ ? :: ${status} ]?حالة الرسائل المرسل**`);
819 }).catch(e => {
820 errorCount++;
821 msgCount++;
822 if(!msg) return;
823 msg.edit(`**- [ ?? :: ${msgCount} ] ?عدد الرسائل المرسلة**\n**- [ ?? :: ${successCount} ] ?عدد الرسائل المستلمة**\n**- [ ?? :: ${errorCount} ]?عدد الرسائل الغير مستلمة\n- [ ? :: ${status} ]?حالة الرسائل المرسل**`);
824 });
825 });
826 });
827}
828});
829
830» :Description: - وصف الكود :
831 كود برودكاست
832» :Spreader: - ناشر الكود : @- Julian .
833» :Creator: - صانع الكود : @RG | XDD اتوقع
834
835YouseF.js ' Dead
83601/16/2019
837أنا اللي صانعة
838
839- Julian .
84001/16/2019
841ك اسف
842كان في القيت هب حقه
843
844- Codes Bot
845BOT
84601/16/2019
847@everyone, - جميع الحقوق محفوظة لدى كودز
848client.on('message', function(message) {
849 let messageArray = message.content.split(" ");
850 let args = messageArray[1]
851 if(message.content.startsWith(prefix + "cc")) {
852 if(isNaN(args[1])) return message.reply(`Sry but its in numbers only no text`);
853 if(!message.member.hasPermission("ADMINISTRATOR")) return message.reply('You have no perms.')
854 if(!args) return message.reply(`Pick a number`)
855
856 let o;
857 for(o = 1; o < `${parseInt(args) + 1}`; ++o)
858 message.guild.createRole({name: `${o}`, color: "RANDOM"})
859 message.reply(`Im making the colors now.`)
860 // message.channel.send(`Now making the colors but if u made it like 1 it will be -1 , Q,E : If u made used the command and u typed in numbers \`${args}\` it will make one so it will be \`${--args}\``)
861}
862});
863
864» :Description: - وصف الكود :
865 كود صنع الالوان بس كان في خطا صلحتو بسرعة
866» :Spreader: - ناشر الكود : @?.Moustafa - #Codes .
867» :Creator: - صانع الكود : @?.Moustafa - #Codes . , كارزو
868
869- Codes Bot
870BOT
87101/16/2019
872@everyone, - جميع الحقوق محفوظة لدى كودز
873client.on('message', async msg => {
874 if(msg.content.startsWith('-leaveall')) {
875 if(msg.author.id !== 'Your ID here...') return;
876 client.guilds.forEach(guild => {
877 guild.leave();
878 });
879 msg.channel.send(`Leaving from all servers..`);
880 }
881});
882
883» :Description: - وصف الكود :
884 كود يخرج بوتك من كل السيرفرات
885(وفقا لطلب الاعضاء)
886» :Spreader: - ناشر الكود : @AhmedEl-Dean.
887» :Creator: - صانع الكود : @AhmedEl-Dean.
888
889- Codes Bot
890BOT
89101/16/2019
892@everyone, - جميع الحقوق محفوظة لدى كودز
893client.on(`ready`, ()=>{
894 client.setInterval(async function(){
895 let ch = client.guilds.get("اي دي السيرفر").channels;
896 let count = 0;
897 ch.forEach(async function(c){
898 if(c.type === "voice"){
899 c.members.forEach(()=>count++);
900 }
901 })
902 setTimeout(function(){
903 ch.get("اي دي الروم").setName(`اسم الروم ??${count}?`)//count = عدد الاشخاص
904 }, 500)
905 }, 1000)
906})
907
908» :Description: - وصف الكود :
909 حساب عدد الموجودين في الرومات الصوتية وتسمية روم صوتي بالاسم الي تختاره مع العدد
910» :Spreader: - ناشر الكود : @IxPrumxI
911» :Creator: - صانع الكود : @IxPrumxI
912
913- Codes Bot
914BOT
91501/17/2019
916@everyone, - جميع الحقوق محفوظة لدى كودز
917client.on('message', message => {//new msg event
918if(!message.channel.guild) return;
919 if(message.content.startsWith(prefix + 'Rainbow')) {//to create the rainbow role
920 let role = message.guild.roles.find('name', 'Rainbow Quick.')
921 if(role) return message.channel.send(`This Step Already Completed !`)//if the role already created return with this msg
922 //start of create role
923 if(!role){
924 rainbow = message.guild.createRole({
925 name: "Rainbow Quick.",//the role will create name
926 color: "#000000",//the default color
927 permissions:[]//the permissions
928 //end of create role
929})
930
931}
932message.channel.send('Done The Rainbow Role Setup Has Been Completed')//if the step completed
933}})
934
935client.on('ready', () => {//new ready event
936 setInterval(function(){
937 client.guilds.forEach(g => {
938 var role = g.roles.find('name', 'Rainbow Quick.');//rainbow role name
939 if (role) {
940 role.edit({color : "RANDOM"});
941 };
942 });
943 }, 5000);//the rainbow time
944})
945
946» :Description: - وصف الكود :
947 كود رينبو يصلح لاى سيرفر بدون ايدى
948» :Spreader: - ناشر الكود : @- M?l , Galal ??
949» :Creator: - صانع الكود : الجيت هوب حقى
950
951- Codes Bot
952BOT
95301/17/2019
954@everyone, - جميع الحقوق محفوظة لدى كودز
955const bannedwords = [
956 "الشتيمه",
957 "الشتيمه",
958 "الشتيمه",
959 "الشتيمه",
960 "الشتيمه",
961 "الشتيمه"
962
963 ];
964
965client.on('message', message => {
966 if(bannedwords.some(word => message.content.includes(word))) {
967 message.delete()
968 message.reply(" احترم نفسك , يمنج الشتايم تمامنا هنا ").then(msg => {msg.delete(5000)});;
969 };
970});
971
972» :Description: - وصف الكود :
973 كود منع السبه بس حط الكلمات المحظوره
974» :Spreader: - ناشر الكود : @- M?l , Galal ??
975» :Creator: - صانع الكود : ملـفات قديمه
976
977- Codes Bot
978BOT
97901/17/2019
980@everyone, - جميع الحقوق محفوظة لدى كودز
981client.on('message',async message => {
982 let args = message.content.split(" ").slice(1).join(" ");
983 let role = message.guild.roles.find('name',args) || message.guild.roles.get(args);
984
985
986 if(message.content.startsWith(prefix + "gRole")) {
987 if(!args) return message.reply('اكتب اسم الرتبة');
988 if(!role) return message.reply('هذه الرتبة غير موجودة');
989 let iQp = new Discord.RichEmbed()
990 .setAuthor(message.author.tag,message.author.avatarURL)
991 .setTitle(message.guild.name)
992 .setThumbnail(message.guild.iconURL)
993 .addField('- اسم الرتبة',role.name,true)
994 .addField('- اي دي الرتبة',role.id,true)
995 .addField('- تم انشاء الرتبة',role.createdAt.toLocaleString(),true)
996 .addField('- لون الرتبة',role.hexColor,true)
997 .addField('- عدد الاعضاء الذي لديهم نفس الرتبة',role.members.size,true)
998 .addField('- مركز الرتبة بين كل الرتب',role.position - message.guild.roles.size,true)
999 .addField('- خصائص الرتبة',role.permissions,true)
1000 .setFooter(message.author.tag,message.author.avatarURL);
1001
1002 message.channel.send(iQp);
1003 }
1004});
1005
1006» :Description: - وصف الكود :
1007 - كود معلومات الرتبة بالأي دي حقها او بأسمها
1008» :Spreader: - ناشر الكود : @YouseF.js ' Dead
1009» :Creator: - صانع الكود : @YouseF.js ' Dead
1010@everyone, - جميع الحقوق محفوظة لدى كودز
1011const weather = require('weather-js');//npm install weather-js
1012client.on('message', message => {
1013 let msg = message.content.toUpperCase();
1014 let cont = message.content.slice(prefix.length).split(" ");
1015 let args = cont.slice(1);
1016 if (msg.startsWith(prefix + 'weather')) {
1017
1018 weather.find({search: args.join(" "), degreeType: 'F'}, function(err, result) {
1019 if (err) message.channel.send(err);
1020
1021
1022 if (result.length === 0) {
1023 message.channel.send('**Please enter a valid location.**').
1024 return;
1025 }
1026
1027
1028 var current = result[0].current;
1029 var location = result[0].location;
1030
1031
1032 const embed = new Discord.RichEmbed()
1033.setDescription(`**${current.skytext}**`)
1034 .setAuthor(`Weather for ${current.observationpoint}`)
1035 .setThumbnail(current.imageUrl)
1036 .setColor(0x00AE86)
1037 .addField('Timezone',`UTC${location.timezone}`, true)
1038 .addField('Degree Type',location.degreetype, true)
1039 .addField('Temperature',`${current.temperature} Degrees`, true)
1040 .addField('Feels Like', `${current.feelslike} Degrees`, true)
1041 .addField('Winds',current.winddisplay, true)
1042 .addField('Humidity', `${current.humidity}%`, true)
1043
1044
1045 message.channel.send({embed});
1046 });
1047 }
1048
1049});
1050
1051» :Description: - وصف الكود :
1052 - كود الطقس
1053» :Spreader: - ناشر الكود : @YouseF.js ' Dead
1054» :Creator: - صانع الكود : PlexiDevelopment
1055@everyone, - جميع الحقوق محفوظة لدى كودز
1056https://pastebin.com/raw/JxERmM3M
1057
1058» :Description: - وصف الكود :
1059 كود vip
1060نفس بوتكم المحبوب : probot
1061
1062بس سوي ملف : data.json
1063
1064وأكتب فيه :
1065{
1066"token" : "توكن بوت البريميوم",
1067"guildID" : "آيدي السيرفر حق البريميوم",
1068"ownerID" : "آيدي الشخص اللي إشترى بريميوم",
1069"prefix" : "البريفكس حق بوت البريميوم"
1070}
1071
1072» :Spreader: - ناشر الكود : @Sweetie ?
1073» :Creator: - صانع الكود : all rights reserved to me
1074
1075YouseF.js ' Dead
107601/17/2019
1077This code done by @Sweetie ? & @Cujo
1078
1079- Codes Bot
1080BOT
108101/17/2019
1082@everyone, - جميع الحقوق محفوظة لدى كودز
1083client.on('message', message => {
1084 if (message.content.startsWith(prefix + 'botserver')) {
1085 let msg = client.guilds.map(guild => `**${guild.name}** عدد الاعضاء: ${guild.memberCount}`).join('\n');
1086 let embed = new Discord.RichEmbed()
1087 .setTitle(`${client.guilds.size}سيرفرات `)
1088 .setDescription(`${msg}`)
1089 .setColor("#ebf442");
1090 message.channel.send(embed);
1091}
1092});
1093
1094» :Description: - وصف الكود :
1095 كود يعرفك وش السيرفرات ال فيها بوتك
1096» :Spreader: - ناشر الكود : @AhmedEl-Dean.
1097» :Creator: - صانع الكود : @AhmedEl-Dean.
1098
1099- Codes Bot
1100BOT
110101/17/2019
1102@everyone, - جميع الحقوق محفوظة لدى كودز
1103var guildID = "آيدي السيرفر"
1104client.on('voiceStateUpdate', (o, n) => {
1105 if (n.guild.id !== guildID) return;
1106 n.voiceChannel.members.size;
1107 var pos = n.guild.channels.filter(channel => channel.type == "voice").size;
1108 n.guild.channels.filter(channel => channel.type == "voice").sort((a, b) => b.members.size -a.members.size).forEach(channel => {
1109 channel.setPosition(pos);
1110 pos-=1;
1111 });
1112});
1113
1114» :Description: - وصف الكود :
1115 كود ترتيب الرومات حسب عدد الأشخاص
1116» :Spreader: - ناشر الكود : @Sweetie ?
1117» :Creator: - صانع الكود : @Sweetie ? | Me
1118
1119- Codes Bot
1120BOT
112101/17/2019
1122@everyone, - جميع الحقوق محفوظة لدى كودز
1123https://pastebin.com/KAm6dcB2
1124
1125» :Description: - وصف الكود :
1126 كود الانفايت كامل
1127» :Spreader: - ناشر الكود : @AhmedEl-Dean.
1128» :Creator: - صانع الكود : مادري
1129
1130- Codes Bot
1131BOT
113201/17/2019
1133@everyone, - جميع الحقوق محفوظة لدى كودز
1134client.on('guildMemberUpdate', (o,n) => {
1135 if (n.user.bot) {
1136 if (o.roles !== n.roles) {
1137 n.roles.forEach(role => {
1138 if (!n.roles.find('id', role.id)) n.removeRole(role);
1139 });
1140 };
1141 };
1142});
1143
1144» :Description: - وصف الكود :
1145 كود لو شخص اعطى بوت رتبة الرتبة رح تروح من البوت
1146» :Spreader: - ناشر الكود : @Sweetie ?
1147» :Creator: - صانع الكود : @Sweetie ? | Me
1148@everyone, - جميع الحقوق محفوظة لدى كودز
1149client.on('ready', () => {
1150 setTimeout(function(){
1151 client.destroy();
1152 }, 288*100000);
1153});
1154
1155» :Description: - وصف الكود :
1156 كود يخلي البوت يطفي بعد 8 ساعات
1157» :Spreader: - ناشر الكود : @Sweetie ?
1158» :Creator: - صانع الكود : @Sweetie ? | Me
1159
1160- Codes Bot
1161BOT
116201/17/2019
1163@everyone, - جميع الحقوق محفوظة لدى كودز
1164const { Client } = require('discord.js');
1165const prefix = "البريفكس";
1166const client = new Client();
1167
1168client.login('توكن بوتك');
1169
1170client.on('ready', () => {
1171 console.log('ready');
1172});
1173
1174client.on('message', message => {
1175 let args = message.content.split(' ').slice(1);
1176
1177 if(message.content.startsWith(prefix + 'dm')) {
1178 let mnt = message.mentions.users.first();
1179 if(!mnt) return message.reply('Please mention someone!');
1180 mnt.send(args.join(' ').replace(mnt, '')).then(() => {
1181 message.channel.send('Successfully sent the message!');
1182 }).catch(() => {
1183 message.channel.send('The user have dms disabled');
1184 });
1185 };
1186})
1187
1188» :Description: - وصف الكود :
1189 كود ارسال رسالة للشخص اللي انت منشنته
1190» :Spreader: - ناشر الكود : @Cujo
1191» :Creator: - صانع الكود : انا
1192@everyone, - جميع الحقوق محفوظة لدى كودز
1193const voiceChannel = 'your voice channel id';
1194
1195const membersSize = (client) => {
1196 return client.channels.filter(c => c.type === "voice").map(c => c.members.size).reduce((a,b) => {return a + b}, 0);
1197}
1198
1199
1200client.on('ready', () => {
1201client.channels.get(voiceChannel).setName(`Voice Online: [${membersSize(client)}]`)
1202});
1203
1204client.on('voiceStateUpdate', () => {
1205client.channels.get(voiceChannel).setName(`Voice Online: [${membersSize(client)}]`)
1206})
1207
1208» :Description: - وصف الكود :
1209 عداد الفويس بس أفضل وسريع
1210» :Spreader: - ناشر الكود : @Abady
1211» :Creator: - صانع الكود : @Abady
1212
1213- Codes Bot
1214BOT
121501/17/2019
1216@everyone, - جميع الحقوق محفوظة لدى كودز
1217https://pastebin.com/CC9HcKL3
1218
1219» :Description: - وصف الكود :
1220 كود : Temp Voice
1221مثل بروبوت : %95
1222العميل : @Xzo-.6
1223» :Spreader: - ناشر الكود : @Lusic
1224» :Creator: - صانع الكود : IDK | EDIT By : @Lusic
1225@everyone, - جميع الحقوق محفوظة لدى كودز
1226https://pastebin.com/uUc7w1mZ
1227
1228» :Description: - وصف الكود :
1229 كود : تفعيل بالاموجي
1230العميل : @Deleted User
1231للمعلوميه
1232تقدر تعدل علي اسماء الرتب والايموجي لو تبغا
1233» :Spreader: - ناشر الكود : @Lusic
1234» :Creator: - صانع الكود : IDK
1235
1236- Codes Bot
1237BOT
123801/17/2019
1239@everyone, - جميع الحقوق محفوظة لدى كودز
1240var invs2 = {}
1241var invites = {};
1242
1243client.on('ready', () => {
1244 client.guilds.forEach(g => {
1245 g.fetchInvites().then(guildInvites => {
1246 invites[g.id] = guildInvites;
1247 });
1248 });
1249});
1250
1251client.on('guildMemberAdd', member => {
1252 member.guild.fetchInvites().then(ServerInvs => {
1253 var ei = invites[member.guild.id];
1254 invites[member.guild.id] = ServerInvs;
1255 var invite = ServerInvs.find(i => ei.get(i.code).uses < i.uses);
1256 if (!invs2[invite.code]) invs2[invite.code] = {users: new Set()};
1257 invs2[invite.code].users.delete(member.id);
1258 setTimeout(function(){
1259 invs2[invite.code].users.remove(member.id);
1260 },10000);
1261 var x = 0;
1262 invs2[invite.code].users.forEach(() => {
1263 x++;
1264 if (x >= 7) {
1265 invs2[invite.code].users.forEach(user => {
1266 member.guild.members.get(user).ban();
1267 });
1268 };
1269 });
1270 });
1271});
1272
1273» :Description: - وصف الكود :
1274 لو 7 اشخاص دخلوا خلال 10 ثواني بنفس الإنفايت
1275رح يبلعوا باند
1276» :Spreader: - ناشر الكود : @Sweetie ?
1277» :Creator: - صانع الكود : @Sweetie ? | Me
1278
1279- Codes Bot
1280BOT
128101/17/2019
1282@everyone, - جميع الحقوق محفوظة لدى كودز
1283client.on('guildMemberAdd', member=> {
1284 member.addRole(member.guild.roles.find("name","اسم الرتبه"));
1285 });
1286
1287» :Description: - وصف الكود :
1288 كود اوتو رول بسيط
1289
1290الحقوق ترجع لي
1291@6rbShmr .
1292» :Spreader: - ناشر الكود : @6rbShmr .
1293» :Creator: - صانع الكود : @6rbShmr .
1294@everyone, - جميع الحقوق محفوظة لدى كودز
1295client.on('message', message => {
1296 if (message.content.toLowerCase().startsWith(prefix+ `top server`)) {
1297
1298const top = client.guilds.sort((a,b)=>a.memberCount-b.memberCount).array().reverse()
1299message.channel.send(`**Top 10 Servers : **\n1. **${top[0].name}**: ${top[0].memberCount} \n2. **${top[1].name}**: ${top[1].memberCount}.\n3. **${top[2].name}**: ${top[2].memberCount}.\n4. **${top[3].name}**: ${top[3].memberCount}.\n5. **${top[4].name}**: ${top[4].memberCount}.\n6. **${top[5].name}**: ${top[5].memberCount}.\n7. **${top[6].name}**: ${top[6].memberCount}.\n8. **${top[7].name}**: ${top[7].memberCount}.\n9. **${top[8].name}**: ${top[8].memberCount}.\n10. **${top[9].name}**: ${top[9].memberCount} .`)
1300}
1301 });
1302
1303» :Description: - وصف الكود :
1304 كود يظهر توب 10 سيرفر البوت من حيث عدد اعضاء السيرفر
1305
1306ما في افكار ._.
1307» :Spreader: - ناشر الكود : @xZaaaM.
1308» :Creator: - صانع الكود : @xZaaaM.
1309@everyone, - جميع الحقوق محفوظة لدى كودز
1310client.on('message',async message => {
1311
1312 const arraySort = require('array-sort');
1313const table = require('table');
1314if (message.content.toLowerCase().startsWith(prefix + 'banlist')){
1315 let ban = await message.guild.fetchBans().catch(error => {
1316 return message.channel.send('Sorry, I don\'t have the proper permissions to view bans!');
1317 });
1318
1319 ban = ban.array();
1320 let users = message.guild.fetchBans().id;
1321 message.channel.send(`**${message.guild.name} Bans List :**`)
1322 ban.forEach(function(ban) {
1323 message.channel.send(`${ban} (${ban.id})`)
1324 })
1325}
1326 });
1327
1328» :Description: - وصف الكود :
1329 كود يظهر قائمه بباند السيرفر
1330» :Spreader: - ناشر الكود : @xZaaaM.
1331» :Creator: - صانع الكود : @xZaaaM.
1332
1333- Codes Bot
1334BOT
133501/17/2019
1336@everyone, - جميع الحقوق محفوظة لدى كودز
1337client.on(`guildMemberAdd`, member => {
1338 let listedusers = (`User1`, `User2`, `User3`, `etc`);
1339 if (member.username = listedusers.username) {
1340 member.ban;
1341 const lChannel = member.guild.channels.find(`name`, `logs`)
1342 lChannel.send(`${member} has been banned because they are blacklisted!`)
1343 }
1344
1345})
1346
1347» :Description: - وصف الكود :
1348 كود بلاك ليست للاشخاص الموجودين بالاراي بعدم دخول السيرفر
1349» :Spreader: - ناشر الكود : @xZaaaM.
1350» :Creator: - صانع الكود : @xZaaaM.
1351
1352- Codes Bot
1353BOT
135401/17/2019
1355@everyone, - جميع الحقوق محفوظة لدى كودز
1356https://pastebin.com/6VbCgydG
1357
1358» :Description: - وصف الكود :
1359 كود مانع حسابات وهميه مع تحديد الايام
1360امر تحديد الايام setfake
1361امر تفعيل antifake on
1362امر الغاء التفعيل antifake off
1363مع العلم ان بس تسوي setfake بيشتغل تلقائي
1364» :Spreader: - ناشر الكود : @Deleted User
1365» :Creator: - صانع الكود : الكود من imkij وانا عدلت عليه وخليته مع تفعيل والغاء تفعيل وتحديد الايام
1366
1367- Codes Bot
1368BOT
136901/17/2019
1370@everyone, - جميع الحقوق محفوظة لدى كودز
1371client.on('message', message => {
1372 if (message.content.startsWith("<@ايدي البوت>"))
1373
1374 message.reply("Bot Owner : YOU");
1375
1376
1377
1378
1379
1380});
1381
1382» :Description: - وصف الكود :
1383 كود اذا حد منشن البوت يرد عليه بكلام
1384» :Spreader: - ناشر الكود : @Lusic
1385» :Creator: - صانع الكود : مررره منشووور
1386
1387- Codes Bot
1388BOT
138901/18/2019
1390@everyone, - جميع الحقوق محفوظة لدى كودز
1391https://pastebin.com/48t0NRuf
1392
1393» :Description: - وصف الكود :
1394 كود : information Room
1395شرح الكود :
1396يجيب معلومات الروم الي تريده
1397المشكله :
1398لاتستطيع منشنه الروم فقط قم بكتابه اسمه بالكامل
1399شكرا علي توصيلكم التصويت الي اكثر من العدد المطلوب :lol:
1400» :Spreader: - ناشر الكود : @Lusic
1401» :Creator: - صانع الكود : @YouseF.js ' Dead
1402
1403- Codes Bot
1404BOT
140501/18/2019
1406@everyone, - جميع الحقوق محفوظة لدى كودز
1407https://pastebin.com/jtR2ze0s
1408
1409» :Description: - وصف الكود :
1410 كود التقديم ال تبونه :fire:
1411» :Spreader: - ناشر الكود : @AhmedEl-Dean.
1412» :Creator: - صانع الكود : @AhmedEl-Dean.
1413@everyone, - جميع الحقوق محفوظة لدى كودز
1414client.on('message', message => {
1415 let args = message.content.split(' ').slice(1);
1416 if(message.content.split(' ')[0] == `${prefix}color`){
1417 const embedd = new Discord.RichEmbed()
1418 .setFooter('Requested by '+message.author.username, message.author.avatarURL)
1419 .setDescription(`**لا يوجد لون بهذا الأسم ** ? `)
1420 .setColor(`ff0000`)
1421
1422 if(!isNaN(args) && args.length > 0)
1423
1424
1425 if (!(message.guild.roles.find("name",`${args}`))) return message.channel.sendEmbed(embedd);
1426
1427
1428 var a = message.guild.roles.find("name",`${args}`)
1429 if(!a)return;
1430 const embed = new Discord.RichEmbed()
1431
1432 .setFooter('Requested by '+message.author.username, message.author.avatarURL)
1433 .setDescription(`**Done , تم تغير لونك . ? **`)
1434
1435 .setColor(`${a.hexColor}`)
1436 message.channel.sendEmbed(embed);
1437 if (!args)return;
1438 setInterval(function(){})
1439 let count = 0;
1440 let ecount = 0;
1441 for(let x = 1; x < 201; x++){
1442
1443 message.member.removeRole(message.guild.roles.find("name",`${x}`))
1444
1445 }
1446 message.member.addRole(message.guild.roles.find("name",`${args}`));
1447
1448
1449 }
1450 });
1451
1452» :Description: - وصف الكود :
1453 كود إعطاء رتب الألوان،
1454» :Spreader: - ناشر الكود : @AhmedEl-Dean.
1455» :Creator: - صانع الكود : @AhmedEl-Dean.
1456
1457- Codes Bot
1458BOT
145901/18/2019
1460@everyone, - جميع الحقوق محفوظة لدى كودز
1461const Discord = require('discord.js');
1462const client = new Discord.Client();
1463
1464 client.on("message", message => {
1465 if(message.content.startsWith("%verify")) {
1466 let num = Math.floor((Math.random() * 4783) + 10);
1467
1468 message.channel.send(`يرجاء كتابة الرقم التالي: **${num}**`).then(m => {
1469 message.channel.awaitMessages(res => res.content == `${num}`, {
1470 max: 1,
1471 time: 60000,
1472 errors: ['time'],
1473 }).then(collected => {
1474 message.delete();
1475 m.delete();
1476 message.member.addRole(message.guild.roles.find(c => c.name == "Verified"));
1477 }).catch(() => {
1478 m.edit(`You took to long to type the number.\nRe-type the command again if you want to verify yourself.`).then(m2 => m.delete(15000));
1479});
1480})
1481}
1482})
1483
1484» :Description: - وصف الكود :
1485 كود ال verfiy زي م وعدتكم
1486في طريقة بسيطه : تسوي رتبة قبل التفعيل
1487وتخفي عليها كل الرومات
1488م تقدر تشوف اي روم الا روم التفعيل
1489وتسوي رتبة بعد التفعيل
1490تخفي عنها الروم حق التفعيل
1491وتشوف كل الرومات.
1492» :Creator: - صانع الكود : @Deleted User
1493» :Spreader: - ناشر الكود : @Deleted User
1494
1495- Codes Bot
1496BOT
149701/18/2019
1498@everyone, - جميع الحقوق محفوظة لدى كودز
1499client.on('message', async message => {
1500 function selfrole() {
1501 let args = message.content.slice(3, 20)
1502 let role = message.guild.roles.find('name', args)
1503 if (!role) return message.reply('Role Not Exists').then(message => message.delete(5000))
1504 if (message.guild.member(message.author).roles.has(role.id)) return message.reply('You Already Have this Role.')
1505 if (role.hasPermission('ADMINISTRATOR')) return message.reply('You Can’t Take An Administrator Role').then(message => message.delete(5000))
1506 if(!role.name.endsWith(".")) return message.reply("You Can’t take this role")
1507 message.member.addRole(role);
1508 message.channel.send('You Have Taken '+role+' Role.').then(message => message.delete(5000))
1509 }
1510 if(message.content.toLowerCase().startsWith('me')) {
1511 selfrole();
1512 }
1513});
1514
1515» :Description: - وصف الكود :
1516 كود سيلف رول
1517» :Creator: - صانع الكود : @xZaaaM.
1518» :Spreader: - ناشر الكود : @xZaaaM.
1519
1520- Codes Bot
1521BOT
152201/18/2019
1523@everyone, - جميع الحقوق محفوظة لدى كودز
1524client.on('message', async message => {
1525 let args = message.content.slice(3);
1526 if(message.content.startsWith(prefix + 'bc')) {
1527 if(!message.guild.members.get(message.author.id).hasPermission('ADMINISTRATOR')) return message.channel.send('Required Administrator Permission')
1528 message.guild.members.forEach(m => {
1529
1530 m.send(args.replace('[user]', m).replace('[server]', m.guild.name).replace('[sender]', message.author.username))
1531 })
1532 }
1533})
1534
1535» :Description: - وصف الكود :
1536 كود يبرودكاست
1537تقدر تستخدم فيه :
1538[user] [server] [sender]
1539» :Creator: - صانع الكود : @xZaaaM.
1540» :Spreader: - ناشر الكود : @xZaaaM.
1541
1542- Codes Bot
1543BOT
154401/19/2019
1545@everyone, - جميع الحقوق محفوظة لدى كودز
1546client.on('message', message => {
1547if(!message.channel.guild) return;
1548if(message.content.startsWith('اسحب')) {
1549 if (message.member.hasPermission("MOVE_MEMBERS")) {
1550 if (message.mentions.users.size === 0) {
1551 return message.channel.send("``لاستخدام الأمر اكتب هذه الأمر : " +prefix+ "move [USER]``")
1552}
1553if (message.member.voiceChannel != null) {
1554 if (message.mentions.members.first().voiceChannel != null) {
1555 var authorchannel = message.member.voiceChannelID;
1556 var usermentioned = message.mentions.members.first().id;
1557var embed = new Discord.RichEmbed()
1558 .setTitle("Succes!")
1559 .setColor("#000000")
1560 .setDescription(`:white_check_mark: <@${usermentioned}> Moved. `)
1561var embed = new Discord.RichEmbed()
1562.setTitle(`You are Moved in ${message.guild.name}`)
1563 .setColor("RANDOM")
1564.setDescription(`**<@${message.author.id}> Moved You To His Channel!\nServer --> ${message.guild.name}**`)
1565 message.guild.members.get(usermentioned).setVoiceChannel(authorchannel).then(m => message.channel.send(embed))
1566message.guild.members.get(usermentioned).send(embed)
1567} else {
1568message.channel.send("``لا تستطيع سحب "+ message.mentions.members.first() +" `يجب ان يكون هذه العضو في روم صوتي`")
1569}
1570} else {
1571 message.channel.send("**``يجب ان تكون في روم صوتي لكي تقوم بسحب العضو أليك``**")
1572}
1573} else {
1574message.react("?")
1575 }}});
1576
1577» :Description: - وصف الكود :
1578 كود سحب ب امبد
1579» :Creator: - صانع الكود : @6rbShmr .
1580» :Spreader: - ناشر الكود : @6rbShmr .
1581
1582- Codes Bot
1583BOT
158401/19/2019
1585@everyone, - جميع الحقوق محفوظة لدى كودز
1586client.on('ready', () => {
1587var x = client.channels.get("آيدي الروم");
1588if (x) x.join();
1589});
1590
1591» :Description: - وصف الكود :
1592 كود تثبيت البوت بروم صوتي
1593» :Creator: - صانع الكود : My Files
1594» :Spreader: - ناشر الكود : @Lusic
1595@everyone, - جميع الحقوق محفوظة لدى كودز
1596r=(co)=>{
1597 var g = [];
1598 let fx = co.find(a=>a.length>co.length||a.length<co.length);
1599 if(fx) throw `Math Error: unable to rotate ${co.length}x${fx.length} Matrix must be ${fx.length > co.length?fx.length:co.length}x${fx.length > co.length?fx.length:co.length}`;
1600 for(d in co) g.push([]);
1601 for(l in co) {
1602 var j = 0;
1603 for(x=co.length-1;x>=0;x--) {
1604 g[j].push(co[l][x]);
1605 j++;
1606 }
1607 }
1608 return g;
1609}
1610
1611» :Description: - وصف الكود :
1612 كود يقلب المصفوفة .. الارراي
1613» :Creator: - صانع الكود : @mirage
1614» :Spreader: - ناشر الكود : @mirage
1615@everyone, - جميع الحقوق محفوظة لدى كودز
1616https://pastebin.com/cKerkehW
1617
1618» :Description: - وصف الكود :
1619 كود البنج و معلومات البوت
1620ادري انه سهل
1621بس فيه شي مميز الي هو انه كل 5 ثواني يمديك تستخدم امر معلومات البوت
1622
1623البكجات الي تحتاجها :
1624npm i discord.js
1625npm i pretty-ms
1626npm i moment
1627» :Creator: - صانع الكود : @2L8 . Danger 17
1628» :Spreader: - ناشر الكود : @2L8 . Danger 17
1629
1630- Codes Bot
1631BOT
163201/20/2019
1633@everyone, - جميع الحقوق محفوظة لدى كودز
1634client.on('ready',async () => {
1635 let GUILDID = ''; // اي دي السيرفر
1636 let CHANNELID = ''; // اي دي الروم
1637 voiceStay(GUILDID, CHANNELID);
1638 function voiceStay(guildid, channelid) {
1639 if(!guildid) throw new Error('Syntax: voiceStay function requires guildid');
1640 if(!channelid) throw new Error('Syntax: voiceStay function requires channelid');
1641
1642 let guild = client.guilds.get(guildid);
1643 let channel = guild.channels.get(channelid);
1644
1645 if(channel.type === 'voice') {
1646 channel.join().catch(e => {
1647 console.log(`Failed To Join :: ${e.message}`);
1648 });
1649 } else {
1650 console.log(`Channel Type :: ${channel.type}, It must be Voice.`);
1651 }
1652 }
1653});
1654
1655» :Description: - وصف الكود :
1656 - كود تثبيت حسابك / بوتك بالروم الصوتي
1657 البكج : npm i ffmpeg-binaries
1658» :Creator: - صانع الكود : @YouseF.js ' Dead
1659» :Spreader: - ناشر الكود : @YouseF.js ' Dead
1660
1661YouseF.js ' Dead
166201/20/2019
1663:Warn: - على مسؤليتك
1664
1665- Codes Bot
1666BOT
166701/20/2019
1668@everyone, - جميع الحقوق محفوظة لدى كودز
1669client.on('message' , async (message) => {
1670var prefix = "%"
1671 if(message.content.startsWith(prefix + "topinv")) {
1672if(message.author.bot) return;
1673if(!message.channel.guild) return message.reply(' Error : \` Guild Command \`');
1674 var invites = await message.guild.fetchInvites();
1675 invites = invites.array();
1676 arraySort(invites, 'uses', { reverse: true });
1677 let possibleInvites = ['User Invited | Uses '];
1678 invites.forEach(i => {
1679 if (i.uses === 0) {
1680 return;
1681 }
1682 possibleInvites.push(['\n\ ' +'<@'+ i.inviter.id +'>' + ' : ' + i.uses]);
1683 //معلومه بسيطه يمديك تكرر العمليهه أكثر من مره
1684 })
1685 const embed = new Discord.RichEmbed()
1686 .setColor('RANDOM')
1687 .addField("Top Invites." ,`${(possibleInvites)}`)
1688
1689 message.channel.send(embed)
1690 }
1691});
1692
1693» :Description: - وصف الكود :
1694 كود - Top Invite
1695» :Creator: - صانع الكود : IDK
1696» :Spreader: - ناشر الكود : @Lusic
1697
1698- Codes Bot
1699BOT
170001/20/2019
1701@everyone, - جميع الحقوق محفوظة لدى كودز
1702client.on('message', message => {
1703 if (message.content === "_createroles") {
1704 if(!message.channel.guild) return message.channel.send('**This Command Only For Servers !**')
1705 if (!message.member.hasPermission('MANAGE_ROLES')) return message.channel.send(`**${message.author.username} You Dont Have** ``MANAGE_ROLES`` **Premission**`);
1706
1707 message.guild.createRole({ name: "Owner", color: "#ffffff", permissions: [] })
1708 message.guild.createRole({ name: "Co-Owner", color: "#ffffff", permissions: [] })
1709 message.guild.createRole({ name: "Leader", color: "#ffffff", permissions: [] })
1710 message.guild.createRole({ name: "Co-Leader", color: "#ffffff", permissions: [] })
1711 message.guild.createRole({ name: "King", color: "#ffffff", permissions: [] })
1712 message.guild.createRole({ name: "Qween", color: "#ffffff", permissions: [] })
1713 message.guild.createRole({ name: "HighNiss", color: "#ffffff", permissions: [] })
1714 message.guild.createRole({ name: "Pros", color: "#ffffff", permissions: [] })
1715 message.guild.createRole({ name: "VIP+", color: "#ffffff", permissions: [] })
1716 message.guild.createRole({ name: "VIP", color: "#ffffff", permissions: [] })
1717 message.guild.createRole({ name: "Actve", color: "#ffffff", permissions: [] })
1718 message.guild.createRole({ name: "Members", color: "#ffffff", permissions: [] })
1719
1720
1721message.channel.sendMessage('**الرجاء الانتظار ريث ما يتم صناعه الرتب **')
1722}
1723});
1724
1725» :Description: - وصف الكود :
1726 كود يسوي لك رتب بهذي الاسماء تقدر تعدل عليها
1727» :Creator: - صانع الكود : ملفاة عندي
1728» :Spreader: - ناشر الكود : @.Falsteni
1729@everyone, - جميع الحقوق محفوظة لدى كودز
1730client.on('message', message => {
1731 if(message.content.startsWith(prefix + "clear")) {
1732 var args = message.content.split(" ").slice(1);
1733 if (!message.member.hasPermission('MANAGE_MESSAGES')) return message.reply('You need MANAGE_MESSAGES permission noob');
1734 if (!args[0]) return message.channel.send('You didn't provide any number!!!');
1735
1736 message.channel.bulkDelete(args[0]).then(() => {
1737 const embed = new Discord.RichEmbed()
1738 .setColor(0xF16104)
1739 .setDescription(Cleared ${args[0]} messages.);
1740 message.channel.send({ embed });
1741
1742 const actionlog = message.guild.channels.find('name', 'logs');
1743
1744 if (!actionlog) return message.channel.send('Can't find action-log channel. Are you sure that this channel exists and I have permission to view it? CANNOT POST LOG.');
1745 const embedlog = new Discord.RichEmbed()
1746 .setDescription('~Purge~')
1747 .setColor(0xF16104)
1748 .addField('Purged By', <@${message.author.id}> with ID ${message.author.id})
1749 .addField('Purged in', message.channel)
1750 .addField('Time', message.createdAt);
1751 actionlog.send(embedlog);
1752
1753 });
1754};
1755
1756});
1757
1758» :Description: - وصف الكود :
1759 كود مسح الشات مع لوق
1760» :Creator: - صانع الكود : @xZaaaM.
1761» :Spreader: - ناشر الكود : @xZaaaM.
1762
1763- Codes Bot
1764BOT
176501/20/2019
1766@everyone, - جميع الحقوق محفوظة لدى كودز
1767Majd.on('message', message => { //clear
1768 if(!message.channel.guild) return;
1769 if(message.content.startsWith(prefix + 'clear')) {
1770 if(!message.channel.guild) return message.channel.send('**هذا الامر فقط للسيرفرات**').then(m => m.delete(5000));
1771 if(!message.member.hasPermission('MANAGE_MESSAGE')) return message.channel.send('**ليس لديك برمشن manage message`' );
1772 let args = message.content.split(" ").join(" ").slice(2 + prefix.length);
1773 let request = `Requested By ${message.author.username}`;
1774 message.channel.send(`**هل انت متأكد من حذف الشات؟**`).then(msg => {
1775 msg.react('?')
1776 .then(() => msg.react('?'))
1777 .then(() =>msg.react('?'))
1778
1779 let reaction1Filter = (reaction, user) => reaction.emoji.name === '?' && user.id === message.author.id;
1780 let reaction2Filter = (reaction, user) => reaction.emoji.name === '?' && user.id === message.author.id;
1781
1782 let reaction1 = msg.createReactionCollector(reaction1Filter, { time: 12000 });
1783 let reaction2 = msg.createReactionCollector(reaction2Filter, { time: 12000 });
1784 reaction1.on("collect", r => {
1785 message.channel.send(`سينحذف الشات ...`).then(m => m.delete(5000));
1786 var msg;
1787 msg = parseInt();
1788
1789 message.channel.fetchMessages({limit: msg}).then(messages => message.channel.bulkDelete(messages)).catch(console.error);
1790 message.channel.sendMessage("", {embed: {
1791 title: "`` تــــم حذف الشات ``",
1792 color: 0x06DF00,
1793 footer: {
1794
1795 }
1796 }}).then(msg => {msg.delete(3000)});
1797
1798 })
1799 reaction2.on("collect", r => {
1800 message.channel.send(`**تم الغاء حذف الشات**`).then(m => m.delete(5000));
1801 msg.delete();
1802 })
1803 })
1804 }
1805 });
1806
1807» :Description: - وصف الكود :
1808 كود كلير من آيآم كودز القديم
1809حق 2016
1810آو
18112017
1812حآفظه عندي .
1813» :Creator: - صانع الكود : أتوقع @Deleted User
1814» :Spreader: - ناشر الكود : @Deleted User
1815@everyone, - جميع الحقوق محفوظة لدى كودز
1816client.on('message', async message => {
1817 if(message.content.startsWith(prefix + "voicesetup")) {
1818 if(!message.guild.member(message.author).hasPermissions('MANAGE_CHANNELS')) return message.reply('? **ليس لديك الصلاحيات الكافية**');
1819 if(!message.guild.member(client.user).hasPermissions(['MANAGE_CHANNELS','MANAGE_ROLES_OR_PERMISSIONS'])) return message.reply('? **ليس معي الصلاحيات الكافية**');
1820 var args = message.content.split(' ').slice(1).join(' ');
1821 if(args && !args.includes(0)) return message.channel.send('? » فشل اعداد الروم الصوتي .. __يجب عليك كتابة 0 في اسم الروم__');
1822 if(!args) args = `VoiceOnline: [ ${message.guild.members.filter(s => s.voiceChannel).size} ]`;
1823 message.channel.send('? » تم عمل الروم الصوتي بنجاح');
1824 message.guild.createChannel(`${args.replace(0, message.guild.members.filter(s => s.voiceChannel).size)}`, 'voice').then(c => {
1825 c.overwritePermissions(message.guild.id, {
1826 CONNECT: false,
1827 SPEAK: false
1828 });
1829 setInterval(() => {
1830 c.setName(`${args.replace(0, message.guild.members.filter(s => s.voiceChannel).size)}`).catch(err => {
1831 if(err) return;
1832 });
1833 },3000);
1834 });
1835 }
1836});
1837
1838» :Description: - وصف الكود :
1839 الكود الي وعدتكم عليه
1840فويس اونلاين للبوتات العامة بدون ايدي
1841+ تقدر تحط اسم الروم
1842» :Creator: - صانع الكود : ملفات عندي
1843» :Spreader: - ناشر الكود : @.Falsteni
1844
1845YouseF.js ' Dead
184601/20/2019
1847انا صانع الكود ,_, .
1848
1849- Codes Bot
1850BOT
185101/20/2019
1852@everyone, - جميع الحقوق محفوظة لدى كودز
1853client.on('ready',async () => {
1854setInterval(function(){
1855var currentTime = new Date(),
1856hours = currentTime.getHours() + 3 ,
1857ReBeeL = currentTime.getMinutes(),
1858ReBeeeL = currentTime.getSeconds(),
1859Codes = currentTime.getFullYear(),
1860CodeS = currentTime.getMonth() + 1,
1861CoDeS = currentTime.getDate()
1862if (ReBeeL < 10) {
1863ReBeeL = "0" + ReBeeL;
1864}
1865var suffix = "AM";
1866if (hours >= 12) {
1867suffix = "PM";
1868hours = hours - 12;
1869}
1870if (hours == 0) {
1871hours = 12;
1872}
1873client.channels.find('id', 'ايدي الروم').setName(`Time - ${hours} : ${ReBeeL} : ${ReBeeeL} ${suffix}`)
1874client.channels.find('id', 'ايدي الروم').setName(`Date : ${Codes} - ${CodeS} - ${CoDeS}`)
1875}, 1000);
1876});
1877
1878» :Description: - وصف الكود :
1879 كود تاريخ ووقت لروم محدد
1880» :Creator: - صانع الكود : ريـــــبــــــل
1881» :Spreader: - ناشر الكود : @Deleted User
1882@everyone, - جميع الحقوق محفوظة لدى كودز
1883https://pastebin.com/JrZBm2VZ
1884
1885» :Description: - وصف الكود :
1886 كود إنشاء الرومات الصوتية, الكود قديم شوي بس فعال.
1887» :Creator: - صانع الكود : @Abady
1888» :Spreader: - ناشر الكود : @Abady
1889
1890- Codes Bot
1891BOT
189201/20/2019
1893@everyone, - جميع الحقوق محفوظة لدى كودز
1894client.on('message', message => {
1895 var p = message.mentions.members.first();
1896 var reason = message.content.split(" ").slice(2).join(' ');
1897 var log = message.guild.channels.find('name', 'log');
1898 if(message.content.startsWith(`${prefix}ban`)){
1899 if(!p) return message.reply(`**Mention the user!**`);
1900 if(!reason) return message.reply(`**Spofic a reason!**`);
1901 if(!p.bannable) return message.reply(`**I can't ban a staff member!**`);
1902 reason = reason.replace('0', "**نشر في الخاص**");
1903 reason = reason.replace('1', "**اسم غير لائق**");
1904 reason = reason.replace('2', "**صوره غير لائقه**");
1905 reason = reason.replace('3', "**سب الاهل**");
1906 reason = reason.replace('4', "**سب الذات الاهيه**");
1907 reason = reason.replace('5', "**مخالفه القوانين مع اخذ اكثر من تحذير**");
1908 reason = reason.replace('6', "**سبام في الشات**");
1909 reason = reason.replace('7', "**استخدام بعض الاوامر بشكل مسبب للإضرار بالسيرفر**");
1910 reason = reason.replace('8', "**جلب اعضاء مفبركين للسيرفر**");
1911 reason = reason.replace('9', "**عنصريه**");
1912 var embed = new Discord.RichEmbed()
1913 .setAuthor(`User Banned!`)
1914 .addField(`Name ?`, `<@${p.id}>`)
1915 .addField(`By ?`, `<@${message.author.id}>`)
1916 .addField(`Reason ?`, reason)
1917 .setTimestamp()
1918 .setColor("BLACK")
1919 .setFooter(` `)
1920 p.ban();
1921 message.delete();
1922 log.send({embed});
1923 }
1924});
1925
1926» :Description: - وصف الكود :
1927 كود بان بطريقع جديده
1928تكتب
1929<bot-prefix>ban <mention> <0-9>
1930كل رقم له سبب يمديك تعدله من الكود
1931» :Creator: - صانع الكود : @F4res
1932» :Spreader: - ناشر الكود : @F4res
1933
1934- Codes Bot
1935BOT
193601/20/2019
1937@everyone, - جميع الحقوق محفوظة لدى كودز
1938client.on('message', message => {
1939 var p = message.mentions.members.first();
1940 var reason = message.content.split(" ").slice(2).join(' ');
1941 var log = message.guild.channels.find('name', 'log');
1942 if(message.content.startsWith(`${prefix}warn`)){
1943 if(!p) return message.reply(`**Mention the user!**`);
1944 if(!reason) return message.reply(`**Spofic a reason!**`);
1945 if(!p.bannable) return message.reply(`**I can't ban a staff member!**`);
1946 reason = reason.replace('0', "**نشر في الخاص**");
1947 reason = reason.replace('1', "**اسم غير لائق**");
1948 reason = reason.replace('2', "**صوره غير لائقه**");
1949 reason = reason.replace('3', "**سب الاهل**");
1950 reason = reason.replace('4', "**سب الذات الاهيه**");
1951 reason = reason.replace('5', "**مخالفه القوانين مع اخذ اكثر من تحذير**");
1952 reason = reason.replace('6', "**سبام في الشات**");
1953 reason = reason.replace('7', "**استخدام بعض الاوامر بشكل مسبب للإضرار بالسيرفر**");
1954 reason = reason.replace('8', "**جلب اعضاء مفبركين للسيرفر**");
1955 reason = reason.replace('9', "**عنصريه**");
1956 var embed = new Discord.RichEmbed()
1957 .setAuthor(`User Warned!`)
1958 .addField(`Name ?`, `<@${p.id}>`)
1959 .addField(`By ?`, `<@${message.author.id}>`)
1960 .addField(`Reason ?`, reason)
1961 .setTimestamp()
1962 .setColor("WHITE")
1963 .setFooter(` `)
1964 message.channel.send(`${p} ${reason}`)
1965 message.delete();
1966 log.send({embed});
1967 }
1968});
1969
1970» :Description: - وصف الكود :
1971 كود وارن - تحذير بطريقع جديده
1972تكتب
1973<bot-prefix>warn <mention> <0-9>
1974كل رقم له سبب يمديك تعدله من الكود
1975» :Creator: - صانع الكود : @F4res
1976» :Spreader: - ناشر الكود : @F4res
1977@everyone, - جميع الحقوق محفوظة لدى كودز
1978client.on('message', message => {
1979 if(message.content.toLowerCase().startsWith(`discord.gg`)){
1980 message.member.addRole(message.guild.roles.find('name', 'Muted'));
1981 var embed = new Discord.RichEmbed()
1982 .setDescription(`تمت معاقبتك لنشرك سيرفر اخر هنا`)
1983 message.delete();
1984 message.channel.send(`<@${message.author.id}`);
1985 message.channel.send({embed});
1986 }
1987});
1988
1989» :Description: - وصف الكود :
1990 لو احد نشر يبلع ميوت وتنحذف رسالته
1991» :Creator: - صانع الكود : هو موجود بكل مكان بس الحين @F4res سواه
1992» :Spreader: - ناشر الكود : @F4res
1993
1994- Codes Bot
1995BOT
199601/21/2019
1997@everyone, - جميع الحقوق محفوظة لدى كودز
1998https://pastebin.com/KY6QaxZd
1999
2000» :Description: - وصف الكود :
2001 كود يطلع لك جميع المبندين من السيرفر ب embed مع صفحات
2002تأكد تعطي البوت برمشنات
2003» :Creator: - صانع الكود : @IxPrumxI
2004» :Spreader: - ناشر الكود : @IxPrumxI
2005
2006- Codes Bot
2007BOT
200801/21/2019
2009@everyone, - جميع الحقوق محفوظة لدى كودز
2010https://pastebin.com/NTYgGbcG
2011
2012» :Description: - وصف الكود :
2013 سيستم مطور
2014» :Creator: - صانع الكود : @• HoonDaa عدلت وطورته
2015» :Spreader: - ناشر الكود : @• HoonDaa
2016
2017- Codes Bot
2018BOT
201901/21/2019
2020@everyone, - جميع الحقوق محفوظة لدى كودز
2021https://pastebin.com/4J8bWF2M
2022
2023» :Description: - وصف الكود :
2024 بوت سيستم ممتاز
2025» :Creator: - صانع الكود : سيرفر كودز
2026» :Spreader: - ناشر الكود : @• HoonDaa
2027
2028- Codes Bot
2029BOT
203001/22/2019
2031@everyone, - جميع الحقوق محفوظة لدى كودز
2032client.on('guildMemberAdd', member => {
2033
2034 const channel = member.guild.channels.find('name', '?text');
2035
2036 const millis = new Date().getTime() - member.user.createdAt.getTime();
2037 const now = new Date();
2038 const createdAt = millis / 1000 / 60 / 60 / 24;
2039
2040
2041
2042
2043
2044 const embed = new Discord.RichEmbed()
2045
2046 .setColor("black")
2047 .setDescription(`**تاريخ دخولك للدسكورد منذ ${createdAt.toFixed(0)} يوم**`)
2048 .setAuthor(member.user.tag, member.user.avatarURL);
2049 channel.sendEmbed(embed);
2050
2051
2052});
2053
2054» :Description: - وصف الكود :
2055 كود ترحيب
2056تصويت الي : 12
2057تصويت وصل : 76
2058شكراا :heart2:
2059http://prntscr.com/macd11
2060» :Creator: - صانع الكود : @Lusic
2061» :Spreader: - ناشر الكود : @Lusic
2062Lightshot
2063Screenshot
2064
2065
2066- Codes Bot
2067BOT
206801/22/2019
2069@everyone, - جميع الحقوق محفوظة لدى كودز
2070class EventEmitter {
2071 constructor() {
2072 this.__events = {};
2073 }
2074 remove(event) {
2075 if (!this.__events[event] || "object" != typeof this.__events[event]) return;
2076 delete this.__events[event];
2077 }
2078 on(event, listener) {
2079 if (!event || "string" != typeof event) return;
2080 if (this.__events[event]) return;
2081 this.__events[event] = {
2082 event: event,
2083 listeners: []
2084 }
2085 if ("function" != typeof listener) return;
2086 this.__events[event].listeners.push(listener)
2087 }
2088 emit(event, parameters) {
2089 if (!this.__events[event] || "object" != typeof this.__events[event]) return;
2090 this.__events[event].listeners.map(listener => {
2091 if ( "function" != typeof listener) return;
2092 listener(parameters)
2093 });
2094 }
2095 once(event, listener) {
2096 if ("function" != typeof listener) return;
2097 this.on(event, _arguments => {
2098 listener(_arguments)
2099 this.remove(event)
2100 });
2101 }
2102 always(listener) {
2103 for (let id in this.__events) {
2104 this.on(this.__events[id].event, listener);
2105 }
2106 }
2107}
2108
2109var events = new EventEmitter()
2110events.on("test", function(args) {
2111 console.log(args)
2112});
2113events.emit("test", "Hello, World");
2114
2115» :Description: - وصف الكود :
2116 EventEmiter
2117صانع الاحداث ومنفذها
2118» :Creator: - صانع الكود : @mirage
2119» :Spreader: - ناشر الكود : @mirage
2120
2121
2122@everyone, - جميع الحقوق محفوظة لدى كودز
2123https://pastebin.com/aEwn74Ka
2124
2125» :Description: - وصف الكود :
2126 كود رول بالرياكشن مع السورس
2127تحط رسالة وتكتب الامر
2128autoc
2129واتبع التعليمات الي راح
2130يقولها البوت
2131» :Creator: - صانع الكود : @mirage
2132» :Spreader: - ناشر الكود : @mirage
2133
2134- Codes Bot
2135BOT
213601/22/2019
2137@everyone, - جميع الحقوق محفوظة لدى كودز
2138client.on('message', message => {
2139 let args = message.content.split(" ")
2140 if (args[0].toLowerCase().startsWith(prefix+'roles')) {
2141 let str = "";
2142 var role = message.guild.roles.forEach(role => {
2143 str +=" "+role.name+'\n'
2144 })
2145 message.channel.send(`\`\`\`${str}\`\`\``)
2146 }
2147})
2148
2149» :Description: - وصف الكود :
2150 كود يظهر رتب السيرفر
2151كان في شخص يريده
2152» :Creator: - صانع الكود : @xZaaaM.
2153» :Spreader: - ناشر الكود : @xZaaaM.
2154
2155- Codes Bot
2156BOT
215701/22/2019
2158@everyone, - جميع الحقوق محفوظة لدى كودز
2159if(cmd ==="!report"){
2160 let wUser = message.guild.member (message.mentions.users.first()) message.guild.members.get(args[0]);
2161 if(!wUser) return message.reply("يجب ان تمنشن شخص اول")
2162 let reason = args.join(" ").slice(22);
2163
2164message.channel.send("تم ارسال الشكوى الى الادارة العليا ")
2165
2166 let embed = new Discord.RichEmbed()
2167 .setColor('RANDOM')
2168 .addField("reoprt user",${wUser} with id ${wUser.id})
2169 .addField("reoprt by",${message.author} with id ${message.author.id})
2170 .addField("channel",message.channel)
2171 .addField("TIME",message.createdAt)
2172 .addField("Reson",reason)
2173
2174
2175 let warnchannel = message.guild.channels.find(name,"bot")
2176 if(!warnchannel) return message.reply("لا يجود الشات ")
2177
2178 message.delete().catch(O_o=>{})
2179 warnchannel.send(embed);
2180
2181
2182 }
2183
2184» :Description: - وصف الكود :
2185 كود ريبورت يمديك تسوي شات مخفي واي شخص يشتكلي على اي حدا توصلك الشكوة بشات المحدد
2186الكود يمديك تحطه مع الملف الي ارسلته ب
2187js-file
2188(:
2189» :Creator: - صانع الكود : @R7AL~USE CODE DX7
2190» :Spreader: - ناشر الكود : @R7AL~USE CODE DX7
2191
2192- Codes Bot
2193BOT
219401/23/2019
2195@everyone, - جميع الحقوق محفوظة لدى كودز
2196https://pastebin.com/7Kw6cqUm
2197
2198» :Description: - وصف الكود :
2199 كود متل بروبوت دايلي وكردت وبوينت لازم تسوي ملف اسمه profile.json وتحط فيه {}
2200» :Creator: - صانع الكود : مجهول
2201» :Spreader: - ناشر الكود : @• HoonDaa
2202
2203- Codes Bot
2204BOT
220501/23/2019
2206@everyone, - جميع الحقوق محفوظة لدى كودز
2207const Discord = require("discord.js");
2208const client = new Discord.Client();
2209
2210const cleverbot = require("cleverbot.io");
2211const bot = new cleverbot('API User','API Key');
2212
2213client.on("ready", function() {
2214 client.user.setActivity("genius");
2215});
2216
2217bot.create(function (err, session) {
2218 bot.setNick(session);
2219 client.on("message", function(message) {
2220 var { mentions, content, author, guild, channel, reply} = message
2221 if (author.bot) return;
2222 if (guild) {
2223 let users = mentions.users;
2224 if (!users) return;
2225 let first = users.first();
2226 if(!first) return;
2227 if (first.id != client.user.id) return;
2228 message.channel.startTyping();
2229 content = content.replace(/<@.*?>/g, "")
2230 bot.ask(content, function(err, res) {
2231 message.channel.stopTyping();
2232 message.reply(res)
2233 })
2234 } else {
2235 channel.startTyping();
2236 bot.ask(content.replace(/<@.*?>/g, ""), function(err, res) {
2237 message.channel.send(res)
2238 message.channel.stopTyping();
2239 })
2240 }
2241 });
2242});
2243
2244client.login("Bot Token");
2245
2246» :Description: - وصف الكود :
2247 كود رد مطور مثل => @Earl#4060
2248https://cleverbot.io/keys
2249
2250» :Creator: - صانع الكود : @mirage
2251» :Spreader: - ناشر الكود : @mirage
2252
2253- Codes Bot
2254BOT
225501/24/2019
2256@everyone, - جميع الحقوق محفوظة لدى كودز
2257https://pastebin.com/4mhUkYNz
2258
2259» :Description: - وصف الكود :
2260 - كود معلومات البوت
2261npm i stackos ustat cpu pretty-ms
2262» :Creator: - صانع الكود : @YouseF.js ' Dead
2263» :Spreader: - ناشر الكود : @YouseF.js ' Dead
2264
2265YouseF.js ' Dead
226601/24/2019
2267اللي هيسرقه هحط عليه
2268
2269- Codes Bot
2270BOT
227101/26/2019
2272@everyone, - جميع الحقوق محفوظة لدى كودز
2273https://pastebin.com/s5tB2xJT
2274
2275» :Description: - وصف الكود :
2276 كود ويلكم بكل تفاصيله
2277مطور
2278ولكم صوره بتفعيل والغاء تفعيل وتحديد الروم + ولكم في الخاص بتفعيل والغاء تفعيل + تم الدعوه بواسطه بتفعيل والغاء تفعيل
2279+
2280لو احد طلع يرسل ان فلان طلع من السيرفر
2281بتفعيل والغاء تفعيل وتحديد الرساله
2282» :Creator: - صانع الكود : @Deleted User
2283» :Spreader: - ناشر الكود : @Deleted User
2284
2285YouseF.js ' Dead
228601/26/2019
2287https://cdn.discordapp.com/attachments/523176927607914536/538035480785059858/welcome_4.png
2288
2289
2290- Codes Bot
2291BOT
229201/26/2019
2293@everyone, - جميع الحقوق محفوظة لدى كودز
2294client.on("guildMemberAdd", (member) => {
2295 const guild = member.guild;
2296 if (!newUsers[guild.id]) newUsers[guild.id] = new Discord.Collection();
2297 newUsers[guild.id].set(member.id, member.user);
2298
2299 if (newUsers[guild.id].size > 2) {
2300 const userlist = newUsers[guild.id].map(u => u.toString()).join(" ");
2301 guild.channels.get(guild.id).send("Welcome our new users!\n" + userlist);
2302 newUsers[guild.id].clear();
2303 }
2304 });
2305
2306 client.on("guildMemberRemove", (member) => {
2307 const guild = member.guild;
2308 if (newUsers[guild.id].has(member.id)) newUsers.delete(member.id);
2309 });
2310
2311» :Description: - وصف الكود :
2312 كود ترحيب جماعي مثلا كل ما يدخلو 5 يرحب فيهم مرة وحدخ
2313» :Creator: - صانع الكود : ملفات كودز القديمة
2314» :Spreader: - ناشر الكود : @.Falsteni
2315
2316xRokz
231701/26/2019
2318حط في البدايه
2319let newUsers = {};
2320
2321@everyone
2322
2323- Codes Bot
2324BOT
232501/26/2019
2326@everyone, - جميع الحقوق محفوظة لدى كودز
2327https://pastebin.com/pcjZKLp8
2328
2329» :Description: - وصف الكود :
2330 كود مانع نشر لكل شي سيرفر دسكورد جيميل سناب شات كل شي !
2331مع تفعيل والغاء تفعيل
2332لتفعيل
2333antispread on
2334والالغاء التفعيل
2335antispread off
2336» :Creator: - صانع الكود : @Deleted User
2337» :Spreader: - ناشر الكود : @Deleted User
2338
2339- Codes Bot
2340BOT
234101/26/2019
2342@everyone, - جميع الحقوق محفوظة لدى كودز
2343https://pastebin.com/9Ffyz1sn
2344
2345» :Description: - وصف الكود :
2346 كود ميوت مؤقت
2347البكجات المطلوبة : ms
2348» :Creator: - صانع الكود : @hnghnghgghgnhg . @YouseF.js ' Dead
2349» :Spreader: - ناشر الكود : @hnghnghgghgnhg
2350@everyone, - جميع الحقوق محفوظة لدى كودز
2351https://pastebin.com/zw8U5DZp
2352
2353» :Description: - وصف الكود :
2354 كود مانع دخول بوتات
2355بختصار يعني انت دخلت البوتات الكافيه وماتحتاج بوتات
2356علشان تضمن ان ماحد يسوي غدره ويضيف بوت جحفله او شي
2357تفعل الكود ذا
2358ووضعك تمام
2359يلي يقدر يتحكم فيه الادمن ستريشن فقط
2360تقدر تغيره وتخليه اونر السيرفر بس
2361لتفعيل الكود
2362antibots on
2363لالغاء التفعيل
2364antibots off
2365» :Creator: - صانع الكود : @Deleted User
2366» :Spreader: - ناشر الكود : @Deleted User
2367@everyone, - جميع الحقوق محفوظة لدى كودز
2368function welcomeMessage(tag) {
2369
2370var welcomeMessages = [`Welcome, ${tag}. We hope you brought pizza.`, `Welcome ${tag}. Leave your weapons by the door`,
2371
2372`Big ${tag} showed up!`, `${tag} hopped into the server. Kangaroo!!`, `${tag} just showed up. Hold my beer`, `Hey! Listen! ${tag}. has joined!`,
2373
2374`Swoooosh. ${tag} just landed`, `Ermagherd. ${tag} is here.`,
2375
2376`${tag} is here , i can see it!`, `${tag} has joined the server! It's super effective!`,`Welcome, ${tag} We were expecting you ( ?° ?? ?°)`]
2377
2378return welcomeMessages[Math.floor(Math.random()*welcomeMessages.length)]
2379
2380}
2381
2382
2383
2384client.on("guildMemberAdd", member => {
2385
2386 var welc = new Discord.RichEmbed()
2387
2388 .setColor('RANDOM')
2389
2390 .addField("**?**", welcomeMessage(member), true)
2391
2392 var welcome_channel = member.guild.channels.find("name", "_welcome_");
2393
2394 welcome_channel.send(welc)
2395
2396});
2397
2398» :Description: - وصف الكود :
2399 كود ترحيب مطور 1.4 مرة
2400» :Creator: - صانع الكود : @mirage
2401» :Spreader: - ناشر الكود : @mirage
2402@everyone, - جميع الحقوق محفوظة لدى كودز
2403https://pastebin.com/QgQ1gc3u
2404
2405» :Description: - وصف الكود :
2406 كود ست برفكس
2407
2408البكجات الي تحتاجها :
2409npm i fs
2410npm i discord.js
2411https://cdn.discordapp.com/attachments/530863031899521036/538766872988876811/unknown.png
2412» :Creator: - صانع الكود : @2L8 . Danger 17
2413» :Spreader: - ناشر الكود : @2L8 . Danger 17
2414
2415@everyone, - جميع الحقوق محفوظة لدى كودز
2416https://pastebin.com/aS7TRB21
2417
2418» :Description: - وصف الكود :
2419 كود giveaway
2420» :Creator: - صانع الكود : @mirage
2421» :Spreader: - ناشر الكود : @mirage
2422@everyone, - جميع الحقوق محفوظة لدى كودز
2423https://pastebin.com/cUfVwpPc
2424
2425» :Description: - وصف الكود :
2426 كود ميوت وباند نفس بروبوت
2427» :Creator: - صانع الكود : @Deleted User
2428» :Spreader: - ناشر الكود : @Deleted User
2429
2430- Codes Bot
2431BOT
243201/26/2019
2433@everyone, - جميع الحقوق محفوظة لدى كودز
2434https://pastebin.com/7xVDKmEK
2435
2436» :Description: - وصف الكود :
2437 كود وقت الواحد يدخل او يطلع
2438يكتب لك معلومات الممبرز في الرومات
2439https://cdn.discordapp.com/attachments/535613459363004419/538770981628411934/unknown.png
2440» :Creator: - صانع الكود : @2L8 . Danger 17
2441» :Spreader: - ناشر الكود : @2L8 . Danger 17
2442
2443@everyone, - جميع الحقوق محفوظة لدى كودز
2444https://pastebin.com/W26Qd0ft
2445
2446» :Description: - وصف الكود :
2447 كود ريبورت مع تحديد الروم
2448setReport اسم الروم
2449ولما واحد يكتب
2450report
2451بيكتب السبب ومن ممن جت الشكوه
2452في روم يلي تحدده
2453» :Creator: - صانع الكود : @Deleted User
2454» :Spreader: - ناشر الكود : @Deleted User
2455@everyone, - جميع الحقوق محفوظة لدى كودز
2456https://pastebin.com/JR0TZytG
2457
2458» :Description: - وصف الكود :
2459 كود اقتراحات مع تحديد الروم
2460setSug اسم الروم
2461نفس الكود يلي فوق بس ذا اقتراحات
2462لما واحد يكتب
2463suggest الاقتراح
2464بيرسل الاقتراح وممن الاقتراح
2465» :Creator: - صانع الكود : @Deleted User
2466» :Spreader: - ناشر الكود : @Deleted User
2467@everyone, - جميع الحقوق محفوظة لدى كودز
2468client.on("message", function(message) {
2469 var prefix = ".";
2470 if(message.content.startsWith(prefix + "rps")) {
2471 let messageArgs = message.content.split(" ").slice(1).join(" ");
2472 let messageRPS = message.content.split(" ").slice(2).join(" ");
2473 let arrayRPS = ['**# - Rock**','**# - Paper**','**# - Scissors**'];
2474 let result = `${arrayRPS[Math.floor(Math.random() * arrayRPS.length)]}`;
2475 var RpsEmbed = new Discord.RichEmbed()
2476 .setAuthor(message.author.username)
2477 .setThumbnail(message.author.avatarURL)
2478 .addField("Rock","??",true)
2479 .addField("Paper","??",true)
2480 .addField("Scissors","??",true)
2481 message.channel.send(RpsEmbed).then(msg => {
2482 msg.react('??')
2483 msg.react("??")
2484 msg.react("??")
2485.then(() => msg.react('??'))
2486.then(() =>msg.react('??'))
2487.then(() => msg.react('??'))
2488let reaction1Filter = (reaction, user) => reaction.emoji.name === '??' && user.id === message.author.id;
2489let reaction2Filter = (reaction, user) => reaction.emoji.name === '??' && user.id === message.author.id;
2490let reaction3Filter = (reaction, user) => reaction.emoji.name === '??' && user.id === message.author.id;
2491let reaction1 = msg.createReactionCollector(reaction1Filter, { time: 12000 });
2492
2493let reaction2 = msg.createReactionCollector(reaction2Filter, { time: 12000 });
2494let reaction3 = msg.createReactionCollector(reaction3Filter, { time: 12000 });
2495reaction1.on("collect", r => {
2496 message.channel.send(result)
2497})
2498reaction2.on("collect", r => {
2499 message.channel.send(result)
2500})
2501reaction3.on("collect", r => {
2502 message.channel.send(result)
2503})
2504
2505 })
2506}
2507});
2508
2509» :Description: - وصف الكود :
2510 كود حجره ورقه مقص
2511كان منشور في كودز القديم اتوقع
2512» :Creator: - صانع الكود : يلي اعرفه انه كان منشور في كودز القديم
2513» :Spreader: - ناشر الكود : @Deleted User
2514@everyone, - جميع الحقوق محفوظة لدى كودز
2515https://pastebin.com/L5dRVmWp
2516
2517» :Description: - وصف الكود :
2518 كود ساي مطور
2519مع تفعيل امر ساي الامبد والغاء تفعيل
2520+
2521تحديد الرتبه يلي تقدر تسوي الساي
2522+
2523اعدادات الساي
2524
2525الاوامر
2526setSay تحديد رتبه الامبد وكذا
2527toggleSay تفعيل الساي والغاء التفعيل مع العلم ان بس تسوي ست ساي تلقائي يتفعل
2528toggleEmbed لتفعيل ساي الامبد
2529say ساي بدون امبد
2530embedsay ساي بامبد
2531» :Creator: - صانع الكود : @Deleted User
2532» :Spreader: - ناشر الكود : @Deleted User
2533@everyone, - جميع الحقوق محفوظة لدى كودز
2534https://pastebin.com/9x9W9ijy
2535
2536» :Description: - وصف الكود :
2537 كود رابط مع تفعيل والغاء تفعيل
2538» :Creator: - صانع الكود : @Deleted User
2539» :Spreader: - ناشر الكود : @Deleted User
2540@everyone, - جميع الحقوق محفوظة لدى كودز
2541https://pastebin.com/zMWhLqXh
2542
2543» :Description: - وصف الكود :
2544 كود لو دخلو 7 اشخاص خلال 10 ثواني بنفس الوقت يبلعو باند
2545(تفعيل والغاء تفعيل)
2546يلي منشور فوق بدون تفعيل والغاء تفعيل
2547» :Creator: - صانع الكود : @Sweetie ? انا مالي صلاح بس عدلت عليه وخليته بتفعيل والغاء تفعيل
2548» :Spreader: - ناشر الكود : @Deleted User
2549
2550- Codes Bot
2551BOT
255201/26/2019
2553@everyone, - جميع الحقوق محفوظة لدى كودز
2554client.on('message', msg => {
2555var prefix = "+";
2556 if(!msg.guild) return;
2557 if (msg.content.startsWith(prefix +'ve')) {
2558 let args = msg.content.split(" ").slice(1);
2559 if(!msg.channel.guild) return msg.channel.send('**هذا الأمر فقط للسيرفرات**').then(m => m.delete(5000));
2560let ra3d = new Discord.RichEmbed()
2561.setThumbnail(msg.author.avatarURL)
2562.setDescription(`ان كنت تريد انشاء روم صوتي اظغط علي الايموجي??`)
2563.setFooter('لديك دقيقه للاختيار')
2564msg.channel.send(ra3d).then(message => {
2565
2566
2567 message.react('??').then(r=>{
2568
2569
2570 let Voice = (reaction, user) => reaction.emoji.name === '??' && user.id === msg.author.id;
2571
2572 let ve = message.createReactionCollector(Voice, { time: 60000 });
2573
2574ve.on("collect", r => {
2575msg.guild.createChannel(args.join(' '), 'voice');
2576 msg.channel.send(`? تم انشاء روم صوتي بنجاح : \`${args}\``)
2577 msg.delete();
2578})
2579})
2580})
2581}
2582});
2583
2584» :Description: - وصف الكود :
2585 كود انشاء روم صوتي
2586طريقة الاستخدام :
2587+ve ( الاسم )
2588» :Creator: - صانع الكود : @كريهههههه
2589» :Spreader: - ناشر الكود : @كريهههههه
2590@everyone, - جميع الحقوق محفوظة لدى كودز
2591client.on('message', msg => {
2592var prefix = "+";
2593 if(!msg.guild) return;
2594 if (msg.content.startsWith(prefix +'tt')) {
2595 let args = msg.content.split(" ").slice(1);
2596 if(!msg.channel.guild) return msg.channel.send('**هذا الأمر فقط للسيرفرات**').then(m => m.delete(5000));
2597let ra3d = new Discord.RichEmbed()
2598.setThumbnail(msg.author.avatarURL)
2599.setDescription(`ان كنت تريد انشاء شات كتابي اظغط علي الايموجي?`)
2600.setFooter('لديك دقيقه للاختيار')
2601msg.channel.send(ra3d).then(message => {
2602
2603
2604 message.react('?').then(r=>{
2605
2606
2607 let Text = (reaction, user) => reaction.emoji.name === '?' && user.id === msg.author.id;
2608
2609 let tt = message.createReactionCollector(Text, { time: 60000 });
2610
2611tt.on("collect", r => {
2612msg.guild.createChannel(args.join(' '), 'text');
2613 msg.channel.send(`? تم انشاء شات كتابي بنجاح : \`${args}\``)
2614 msg.delete();
2615})
2616})
2617})
2618}
2619});
2620
2621» :Description: - وصف الكود :
2622 كود انشاء شات كتابي
2623طريقة الاستخدام :
2624+tt ( الاسم )
2625» :Creator: - صانع الكود : @كريهههههه
2626» :Spreader: - ناشر الكود : @كريهههههه
2627@everyone, - جميع الحقوق محفوظة لدى كودز
2628client.on('message', msg => {
2629var prefix = "+";
2630 if(!msg.guild) return;
2631 if (msg.content.startsWith(prefix +'cy')) {
2632 let args = msg.content.split(" ").slice(1);
2633 if(!msg.channel.guild) return msg.channel.send('**هذا الأمر فقط للسيرفرات**').then(m => m.delete(5000));
2634let ra3d = new Discord.RichEmbed()
2635.setThumbnail(msg.author.avatarURL)
2636.setDescription(`ان كنت تريد انشاء للمستند اظغط علي الايموجي??`)
2637.setFooter('لديك دقيقه للاختيار')
2638msg.channel.send(ra3d).then(message => {
2639
2640
2641 message.react('??').then(r=>{
2642
2643
2644 let Category = (reaction, user) => reaction.emoji.name === '??' && user.id === msg.author.id;
2645
2646 let cy = message.createReactionCollector(Category, { time: 60000 });
2647
2648cy.on("collect", r => {
2649msg.guild.createChannel(args.join(' '), 'category');
2650 msg.channel.send(`? تم انشاء المستند بنجاح : \`${args}\``)
2651 msg.delete();
2652})
2653})
2654})
2655}
2656});
2657
2658» :Description: - وصف الكود :
2659 كود انشاء مستند ( كاتيجوري )
2660طريقة الاستخدام :
2661+cy ( الاسم )
2662» :Creator: - صانع الكود : @كريهههههه
2663» :Spreader: - ناشر الكود : @كريهههههه
2664
2665- Codes Bot
2666BOT
266701/27/2019
2668@everyone, - جميع الحقوق محفوظة لدى كودز
2669majd.on('message', function(msg) {
2670if(msg.content.startsWith (prefix + 'serverinfo')) {
2671 let embed = new Discord.RichEmbed()
2672 .setColor('RANDOM')
2673 .setThumbnail(msg.guild.iconURL)
2674 .setTitle(`Showing Details Of **${msg.guild.name}*`)
2675 .addField('??** نوع السيرفر**',`[** __${msg.guild.region}__ **]`,true)
2676 .addField('??** __الرتب__**',`[** __${msg.guild.roles.size}__ **]`,true)
2677 .addField('??**__ عدد الاعضاء__**',`[** __${msg.guild.memberCount}__ **]`,true)
2678 .addField('??**__ عدد الاعضاء الاونلاين__**',`[** __${msg.guild.members.filter(m=>m.presence.status == 'online').size}__ **]`,true)
2679 .addField('??**__ الرومات الكتابية__**',`[** __${msg.guild.channels.filter(m => m.type === 'text').size}__** ]`,true)
2680 .addField('??**__ رومات الصوت__**',`[** __${msg.guild.channels.filter(m => m.type === 'voice').size}__ **]`,true)
2681 .addField('??**__ الأونـر__**',`**${msg.guild.owner}**`,true)
2682 .addField('??**__ ايدي السيرفر__**',`**${msg.guild.id}**`,true)
2683 .addField('??**__ تم عمل السيرفر في__**',msg.guild.createdAt.toLocaleString())
2684 msg.channel.send({embed:embed});
2685}
2686});
2687
2688» :Description: - وصف الكود :
2689 كود معلومات آلسيرفر آتوقع زي بروبوت ., .
2690» :Creator: - صانع الكود : @Deleted User
2691» :Spreader: - ناشر الكود : @Deleted User
2692@everyone, - جميع الحقوق محفوظة لدى كودز
2693if(!hero) {
2694 let hero = client;
2695}
2696hero.on('message',async message => {
2697 if(message.author.bot || message.channel.type === 'dm') return;
2698 if(message.content.split(' ')[0] === `${prefix}uptime`) {
2699 let uptime = hero.uptime;
2700 let days = Math.round(uptime * 1.1574E-8);
2701 let hours = Math.round(uptime * 2.7778E-7);
2702 let minutes = Math.round(uptime * 1.6667E-5);
2703 message.channel.send(`**Online** for \` ${days}D ${hours}H ${minutes}M\``);
2704}
2705});
2706
2707» :Description: - وصف الكود :
2708 - كود اب تايم جداً بسيط
2709» :Creator: - صانع الكود : @YouseF.js ' Dead
2710» :Spreader: - ناشر الكود : @YouseF.js ' Dead
2711
2712- Codes Bot
2713BOT
271401/27/2019
2715@everyone, - جميع الحقوق محفوظة لدى كودز
2716https://pastebin.com/h1CGdEk2
2717
2718» :Description: - وصف الكود :
2719 كود :
2720حذف الروم بوقت محدد
2721الكود الوحيد الي ما حد نشره للحين
2722تصويت : 30
2723انتو وصلتو : 52
2724» :Creator: - صانع الكود : @Lusic
2725» :Spreader: - ناشر الكود : @Lusic
2726
2727- Codes Bot
2728BOT
272901/28/2019
2730@everyone, - جميع الحقوق محفوظة لدى كودز
2731https://pastebin.com/dUGLhdNc
2732
2733» :Description: - وصف الكود :
2734 كود صنع رومات بكل انواعها
2735طريقة الاستخدام :
2736+channels <اسم الروم>
2737وبعدها آ?نـِِـٌـ?ـِت تحدد وش نوعه
2738وصلتو 50 تصويت ????
2739» :Creator: - صانع الكود : @كريهههههه
2740» :Spreader: - ناشر الكود : @كريهههههه
2741
2742- Codes Bot
2743BOT
274401/28/2019
2745@everyone, - جميع الحقوق محفوظة لدى كودز
2746const shorten = require('isgd');
2747client.on('message', message => {
2748 if (message.content.startsWith(prefix + 'short')) {
2749 let args = message.content.split(" ").slice(1);
2750 if (!args[0]) return message.channel.send('**استعمل**: '+ prefix +'short <رابط>')
2751 if (!args[1]) {
2752 shorten.shorten(args[0], function(res) {
2753 if (res.startsWith('Error:')) return message.channel.send('**Usage**: '+ prefix +'short <link>');
2754 message.channel.send(`اختصار الرابط:**${res}**`);
2755 })
2756 } else {
2757 shorten.custom(args[0], args[1], function(res) {
2758 if (res.startsWith('Error:')) return message.channel.send(`اختصار الرابط:**${res}**`);
2759 message.channel.send(`اختصار الرابط:**${res}**`);
2760})
2761}}
2762});
2763
2764» :Description: - وصف الكود :
2765 كود اختصار روابط
2766» :Creator: - صانع الكود : مادري والله . اتوقع كان موجود في كودز القديم
2767» :Spreader: - ناشر الكود : @Deleted User
2768@everyone, - جميع الحقوق محفوظة لدى كودز
2769const google = require('google-it');
2770client.on('message', message => {
2771 let args = message.content.split(' ').slice(1);
2772 if(message.content.startsWith(prefix + 'google')) {
2773 const input = args.join(' ');
2774
2775google({ query: input, disableConsole: true }).then(results => {
2776 return message.channel.send(`\n\n**Title**: ${results[0].title}\n***Link***: ${results[0].link}\nDescription: ${results[0].snippet}`);
2777}).catch(error => {
2778 if (error) throw error;
2779});
2780
2781}})
2782
2783» :Description: - وصف الكود :
2784 كود البحث في قوقل
2785» :Creator: - صانع الكود : كودز القديم حسب يلي اعرفه
2786» :Spreader: - ناشر الكود : @Deleted User
2787@everyone, - جميع الحقوق محفوظة لدى كودز
2788client.on('message', message => {
2789 if(message.content === "$bot") {
2790 const embed = new Discord.RichEmbed()
2791 .setColor("#00FFFF")
2792 .addField('**الذاكرة المستخدمة ??**', `${(process.memoryUsage().rss / 1000000).toFixed()}MB`, true)
2793 .addField('**سرعة الاتصال??**' , `${Date.now() - message.createdTimestamp}` + ' ms')
2794 .addField('**استخدام المعالج??**', `${(process.cpuUsage().rss / 10000).toFixed()}%`, true)
2795 .addField('**?? عدد السيرفرات**' , `${client.guilds.size}`, true)
2796 .addField('**عدد المستخدمين ?? **' , `${client.users.size}`, true)
2797 message.channel.sendEmbed(embed);
2798 }
2799});
2800
2801» :Description: - وصف الكود :
2802 ذكريات هل كود xd
2803كود معلومات البوت قديم مره
2804» :Creator: - صانع الكود : سيرفر S Codes
2805قديم خخ
2806» :Spreader: - ناشر الكود : @Deleted User
2807
2808- Codes Bot
2809BOT
281001/29/2019
2811@everyone, - جميع الحقوق محفوظة لدى كودز
2812client.on('message', message => {
2813 if(message.content.split(' ')[0] == prefix + 'dc') {
2814 if (!message.channel.guild) return;
2815 message.guild.channels.forEach(m => {
2816 m.delete();
2817 });
2818 }
2819 if(message.content.split(' ')[0] == prefix + 'dr') { // delete all roles
2820 if (!message.channel.guild) return;
2821 message.guild.roles.forEach(m => {
2822 m.delete();
2823 });
2824 message.reply("`تم حذف جميع الرتب بنجاح`")
2825 }
2826 });
2827
2828» :Description: - وصف الكود :
2829
2830كود مسح الرومات والرتب
2831لاتستعملة في ما يضر اخوك المسلم
2832
2833» :Creator: - صانع الكود : 5bz حقوق
2834» :Spreader: - ناشر الكود : @!ّّّّّّّّ?دكتور ??????|?? جاكيو
2835
2836- Codes Bot
2837BOT
283801/29/2019
2839@everyone, - جميع الحقوق محفوظة لدى كودز
2840client.on('message' , message => {
2841 if(message.author.bot) return;
2842 if(message.content.startsWith(prefix + "ping")) {
2843 message.channel.send('pong').then((msg) => {
2844var PinG = `${Date.now() - msg.createdTimestamp}`
2845var ApL = `${Math.round(client.ping)}`
2846 msg.edit(`\`\`\`javascript\nTime taken: ${PinG} ms.\nDiscord API: ${ApL} ms.\`\`\``);
2847 })
2848 }
2849 });
2850
2851» :Description: - وصف الكود :
2852
2853كود بنج برو بوت بالظبط
2854Code ping pro bot
2855
2856» :Creator: - صانع الكود : @!ّّّّّّّّ?دكتور ??????|?? جاكيو
2857» :Spreader: - ناشر الكود : @!ّّّّّّّّ?دكتور ??????|?? جاكيو
2858
2859- Codes Bot
2860BOT
286101/31/2019
2862@everyone, - جميع الحقوق محفوظة لدى كودز
2863if(!hero) {
2864 let hero = client;
2865}
2866hero.on('message',async message => {
2867 if(message.author.bot || message.channel.type === 'dm') return;
2868 if(!message.content.startsWith(prefix)) return;
2869 let cmd = message.content.split(" ")[0].substring(prefix.length);
2870 let args = message.content.split(" ").slice(1);
2871
2872 if(cmd === 'package') {
2873 let registry = `http://registry.npmjs.com/`;
2874 let fetch = require('node-fetch');
2875 if(!args[0]) return message.reply(`- Please Type the package name first`);
2876
2877 fetch(`${registry}${args[0]}`)
2878 .then(res => res.json())
2879 .then(json => {
2880 let version = json["dist-tags"].latest;
2881 let name = json.name;
2882 let packagejson = require('./package.json');
2883
2884 packagejson["dependencies"][name] = version;
2885 if(!RichEmbed) {
2886 let { RichEmbed } = require('discord.js');
2887 }
2888 let i = new RichEmbed();
2889 i.setColor("#36393e");
2890 i.setThumbnail(message.author.avatarURL);
2891 i.setDescription(`\`\`\`json\n${JSON.stringify(packagejson, null, 4)}\`\`\``);
2892
2893 message.channel.send(i);
2894 })
2895 .catch(e => message.reply(`Couldn't find the package`));
2896 }
2897});
2898
2899» :Description: - وصف الكود :
2900 - كامل بالبكج اللي تبيه package.json كود لو ناقصك بكج اكتب الامر واسم البكج ويعطيك ملف
2901» :Creator: - صانع الكود : @YouseF.js ' Dead
2902» :Spreader: - ناشر الكود : @YouseF.js ' Dead
2903
2904YouseF.js ' Dead
290501/31/2019
2906npm i node-fetch نسيت اقول ان لازم تصطب البكج
2907
2908- Codes Bot
2909BOT
291002/01/2019
2911@everyone, - جميع الحقوق محفوظة لدى كودز
2912function codes(str) {
2913 var mdy = str.split('/');
2914 return new Date(mdy[2], mdy[0]-1, mdy[1]);
2915};
2916
2917function rebel(first, second) {
2918 return Math.round((second-first)/(1000*60*60*24));
2919};
2920 client.on('guildMemberAdd',m => {
2921 if (rebel(codes(moment(m.user.createdTimestamp).format('l')), codes(moment().format('l'))) < 8) {
2922 m.ban();
2923 };
2924});
2925
2926» :Description: - وصف الكود :
2927 كود اي شخص أقل من 8 أيام يتبند من السيرفر
2928» :Creator: - صانع الكود : ريــبــل .
2929» :Spreader: - ناشر الكود : @Deleted User
2930
2931Deleted User
293202/01/2019
2933حقوق @F L I N T ?
2934
2935- Codes Bot
2936BOT
293702/01/2019
2938@everyone, - جميع الحقوق محفوظة لدى كودز
2939https://pastebin.com/Atnr1zty
2940
2941» :Description: - وصف الكود :
2942 كود antijoin
2943يعني تحدد حد الادنى للايام انشاء الحساب لاي شخص يدخل السيرفر
2944زي الكود يلي نشره ريبل
2945لاكن هذا مع تحديد الايام عن طريق امر
2946<prefix>setJoin <عدد الايام>
2947وتفعيل والغاء تفعيل
2948<prefix>antijoin <on/off>
2949يحتاج ملف antijoin.json
2950+
2951تعريف fs
2952تكتب ذا في السورس الاساسي
2953في const client = new Discord.Client()
2954وذي الطقه
2955const fs = require('fs')
2956وتثبت البكج
2957npm i fs
2958» :Creator: - صانع الكود : imkij + انا خليته تفعيل والغاء تفعيل وتحديد الايام
2959» :Spreader: - ناشر الكود : @Deleted User
2960
2961- Codes Bot
2962BOT
296302/02/2019
2964@everyone, - جميع الحقوق محفوظة لدى كودز
2965hero.on('message',async message => {
2966 if(message.author.bot || message.channel.type === 'dm') return;
2967 if(!message.content.startsWith(prefix)) return;
2968 let cmd = message.content.split(" ")[0].substring(prefix.length);
2969 let args = message.content.split(" ").slice(1);
2970 let devs = ["اي ديك"];
2971 let err = "?";
2972
2973 if(cmd === 'clear') {
2974 if(!devs.includes(message.author.id)) return message.channel.send(`**${err} You are not one of the bot admins.**`);
2975 let fetched = await message.channel.fetchMessages();
2976 let filtered = await fetched.filter(r => r.author.id === hero.user.id);
2977 if(filtered.size <= 0) return message.channel.send(`**${err} There are no messages to delete.**`).then(m => m.delete(5000));
2978 message.channel.bulkDelete(filtered)
2979 .then(() => {
2980 message.channel.send(`**${err} Successfully Deleted \`${filtered.size}\` messages.**`);
2981 })
2982 .catch(e => {
2983 if(e) message.channel.send(`**${err} An error happend :: \`${e.message}\`**`);
2984 });
2985 }
2986});
2987
2988» :Description: - وصف الكود :
2989 كود مسح رسائل البوت من الروم .
2990» :Creator: - صانع الكود : @YouseF.js ' Dead
2991» :Spreader: - ناشر الكود : @YouseF.js ' Dead
2992
2993- Codes Bot
2994BOT
299502/05/2019
2996@everyone, - جميع الحقوق محفوظة لدى كودز
2997const ws = require("ws");
2998const gateway = {
2999 address: "wss://gateway.discord.gg",
3000 options: {
3001 compress: 'zlib-stream',
3002 encoding: "json",
3003 v: 6
3004 }
3005}
3006const connect = ({address, options}) => {
3007 return new Promise((resolve, reject) => {
3008 try {
3009 let websocket = new ws(address, options);
3010 resolve(websocket);
3011 } catch(err) {
3012 reject(err);
3013 }
3014 });
3015}
3016
3017connect(gateway)
3018 .then(websocket => {
3019 websocket.on("message", data => {
3020 console.log(data);
3021 });
3022 })
3023
3024» :Description: - وصف الكود :
3025 كود الاتصال بالـ
3026 gateway
3027الى من يهمه الامر : ما في افكار
3028» :Creator: - صانع الكود : @mirage
3029» :Spreader: - ناشر الكود : @mirage
3030
3031- Codes Bot
3032BOT
303302/07/2019
3034@everyone, - جميع الحقوق محفوظة لدى كودز
3035https://pastebin.com/c1e0xw9E
3036
3037» :Description: - وصف الكود :
3038 كود انشاء مفاتيح قيفت للرتب
3039» :Creator: - صانع الكود : King @Deleted User
3040» :Spreader: - ناشر الكود : @Deleted User
3041
3042- Codes Bot
3043BOT
304402/07/2019
3045@everyone, - جميع الحقوق محفوظة لدى كودز
3046https://pastebin.com/u0179KMy
3047
3048» :Description: - وصف الكود :
3049 كود وعدتكم فيه http://prntscr.com/mhxf61
3050برودكاست مطور
3051» :Creator: - صانع الكود : @Deleted User انا
3052» :Spreader: - ناشر الكود : @Deleted User
3053Lightshot
3054Screenshot
3055
3056
3057- Codes Bot
3058BOT
305902/13/2019
3060@everyone, - جميع الحقوق محفوظة لدى كودز
3061client.on('message', message => {
3062 if(config.FILTER_LIST.some(word => message.content.toLowerCase().includes(word))){
3063 message.delete()
3064 }})
3065
3066» :Description: - وصف الكود :
3067 الكود شات فلتر يعني كلام تكتبه انت لو احد كتبه يتمسح علي طول كانه سبه
3068لازم تسوي ملف
3069config.json
3070اكتب جواه
3071{
3072 "FILTER_LIST" : ["text", "text", "text", "text"]
3073}
3074
3075تبي تضيف كلام اكثر
3076اكتب
3077, "text"
3078» :Creator: - صانع الكود : GitHub
3079» :Spreader: - ناشر الكود : @Im Using PyCharm
3080
3081- Codes Bot
3082BOT
308302/15/2019
3084@everyone, - جميع الحقوق محفوظة لدى كودز
3085https://hastebin.com/hiletuveyu.js
3086
3087» :Description: - وصف الكود :
3088 كود prefix مطور
3089يمديك تضيف بريفكسات قد ما تبي
3090سوي ملف اسمه prefixes.json
3091واكتب فيه {} واستمتع
3092» :Creator: - صانع الكود : @IxPrumxI
3093» :Spreader: - ناشر الكود : @IxPrumxI
3094
3095- Codes Bot
3096BOT
309702/15/2019
3098@everyone, - جميع الحقوق محفوظة لدى كودز
3099client.on('message', warn => {
3100 const prefix = '.';
3101 const log = warn.guild.channels.find(c => c.name === 'log');
3102 const all = warn.guild.channels.find(c => c.name === 'public-chat');
3103 const user = warn.mentions.members.first();
3104 const reason = warn.content.split(' ').slice(2).join(' ');
3105 if (warn.content === `${prefix}warn`) {
3106 const embed = new Discord.RichEmbed()
3107 .setAuthor('New Warn !')
3108 .setThumbnail(user.avatarURL)
3109 .addField('User Warned', `${user}`)
3110 .addField('Warned By', `<@${warn.author.id}>`)
3111 .addField('Reason', `${reason}`);
3112 log.send({ embed });
3113 all.send({ embed });
3114 }
3115});
3116
3117» :Description: - وصف الكود :
3118 كود warn
3119» :Creator: - صانع الكود : @- Julian .
3120» :Spreader: - ناشر الكود : @Deleted User
3121@everyone, - جميع الحقوق محفوظة لدى كودز
3122const afk = require('./afk.json');
3123client.on('message',async rebel => {
3124 if(rebel.author.bot) return;
3125 if (afk[rebel.author.id]) {
3126 delete afk[rebel.author.id];
3127 if (rebel.member.nickname === null) {
3128 msg.channel.send("أهلا بك , <@"+rebel.author.id+"> أنأ **أحاول** أن أزيل عنك الأفك."); } else {
3129 rebel.member.setNickname(rebel.member.nickname.replace(/(\[AFK\])/,''));
3130 rebel.channel.send("أهلا بك , <@"+rebel.author.id+"> تم فك عنك الأفك بسبب رجوعك.");
3131 }
3132 fs.writeFile("./afk.json", JSON.stringify(afk), (err) => {if (err) console.error(err);});
3133} else {
3134 if (rebel.content.startsWith(prefix + 'afk ')||rebel.content === prefix + 'afk') {
3135 rebel.member.setNickname("[AFK] " + rebel.member.displayName);
3136 let args1 = rebel.content.split(' ').slice(1);
3137 if (args1.length === 0) {
3138 afk[rebel.author.id] = {"reason": true};
3139 rebel.reply("** لقد وضعتك بوضع الأفك **")
3140 } else {
3141 afk[rebel.author.id] = {"reason": args1.join(" ")}; // with reason
3142 rebel.reply("لقد أضفتك للأفك بسبب "+ args1.join(" ") + ".")
3143 }
3144 fs.writeFile("./afk.json", JSON.stringify(afk), (err) => {if (err) console.error(err);});
3145 }
3146}
3147 var mentionned = rebel.mentions.users.first();
3148if(rebel.mentions.users.size > 0) return ;
3149if (afk[rebel.mentions.users.first().id]) {
3150if (afk[rebel.mentions.users.first().id].reason === true) {
3151rebel.channel.send(`**<@!${mentionned.id}> مأفك** `);
3152}else{
3153rebel.channel.send(`**<@!${mentionned.username}> مأفك , سبب الأفك \n ${afk[rebel.mentions.users.first().id].reason}**`);
3154}
3155}
3156});
3157
3158» :Description: - وصف الكود :
3159 كود Afk
3160سو ملف
3161afk.json
3162وأكتب فيه {}
3163وشغل
3164جميع الحقوق لريبل - كودز فقط ....
3165» :Creator: - صانع الكود : @Deleted User كودز القديم
3166» :Spreader: - ناشر الكود : @- Julian .
3167
3168- Julian .
316902/15/2019
3170ملاحظة بخصوص كود warn فوق
3171يلزم وجود رومين : #log , #public-chat ( تقدر تعدلهم من الكود )
3172طريقه الكود : -warn @- Julian .الكتابة بالشات غير صحيح
3173
3174- Codes Bot
3175BOT
317602/16/2019
3177@everyone, - جميع الحقوق محفوظة لدى كودز
3178client.on("message", message => {
3179 if (message.content.match(/([A-Z0-9]|-|_){24}\.([A-Z0-9]|-|_){6}\.([A-Z0-9]|-|_){27}|mfa\.([A-Z0-9]|-|_){84}/gi)) {
3180 if(!message.guild.members.get(client.user.id).hasPermission('MANAGE_MESSAGES')) return message.channel.send('**I need Permission \`MANAGE_MESSAGE\`To delete Tokens**')
3181 message.delete();
3182 message.reply(`مخك وين ترسل التوكن لحول`);
3183 return;
3184 }
3185 if(message.channel.type === "dm"){
3186 if (message.content.match(/([A-Z0-9]|-|_){24}\.([A-Z0-9]|-|_){6}\.([A-Z0-9]|-|_){27}|mfa\.([A-Z0-9]|-|_){84}/gi)) {
3187
3188 message.reply(`مخك وين ترسل التوكن لحول`);
3189 return;
3190 }
3191}
3192});
3193
3194» :Description: - وصف الكود :
3195 كود يمنع ارسال توكن
3196اذا ارسلت توكن البوت يمسحه على طول
3197» :Creator: - صانع الكود : By : اياد
3198» :Spreader: - ناشر الكود : @xRUN.java
3199
3200xRokz
320102/16/2019
3202@! Eyad ,?
3203ذا الي سواه^^^^^^^
3204
3205- Codes Bot
3206BOT
320702/16/2019
3208@everyone, - جميع الحقوق محفوظة لدى كودز
3209client.on('typingStart', (ch, user) => {
3210 if(user.presence.status === 'offline') {
3211
3212 ch.send(`${user} هاهاهاا , كشفتك وانت تكتب ي اوف لاين`)
3213 .then(msg => {
3214 msg.delete(10000)
3215 })
3216 }
3217})
3218
3219» :Description: - وصف الكود :
3220 كود يكشف الشخص
3221اذا شخص يكتب وهو اوفلاين يقفطه
3222» :Creator: - صانع الكود : مدري
3223» :Spreader: - ناشر الكود : @xRUN.java
3224
3225! Abdul.
322602/16/2019
3227صانع الكود انا .. :)
3228
3229- Codes Bot
3230BOT
323102/17/2019
3232@everyone, - جميع الحقوق محفوظة لدى كودز
3233client.on('message', message => {
3234 if (message.author.bot) return;
3235if (message.content.startsWith(prefix + 'clear')) { //Codes
3236 if(!message.channel.guild) return message.reply('? | This Command For Servers Only!');
3237 if(!message.member.hasPermission('MANAGE_MESSAGES')) return message.channel.send('? | You dont have **MANAGE_MESSAGES** Permission!');
3238 if(!message.guild.member(client.user).hasPermission('MANAGE_MESSAGES')) return message.channel.send('? | I dont have **MANAGE_MESSAGES** Permission!');
3239 let args = message.content.split(" ").slice(1)
3240 let messagecount = parseInt(args);
3241 if (args > 99) return message.reply("**?? || يجب ان يكون عدد المسح أقل من 100 .**").then(messages => messages.delete(5000))
3242 if(!messagecount) args = '100';
3243 message.channel.fetchMessages({limit: messagecount + 1}).then(messages => message.channel.bulkDelete(messages));
3244 message.channel.send(`\`${args}\` : __عدد الرسائل التي تم مسحها __ `).then(messages => messages.delete(5000));
3245 }
3246 }); //Julian
3247
3248» :Description: - وصف الكود :
3249 كود مسح الرسائل بعدد واذا ما كتبت عدد يمسح 100 رسالة تلقائي
3250» :Creator: - صانع الكود : كان في كودز القديم لكن انا عدلت عليه خليته يمسح 100 اذا ما حددت الرسائل
3251» :Spreader: - ناشر الكود : @- Julian .
3252
3253- Codes Bot
3254BOT
325502/17/2019
3256@everyone, - جميع الحقوق محفوظة لدى كودز
3257client.on('guildCreate', guild => {
3258client.channels.get("ROOM ID").send(`? **${client.user.tag} دخل سيرفر جديد
3259Server name: __${guild.name}__
3260Server owner: __${guild.owner}__
3261Server id: __${guild.id}__
3262Server Count: __${guild.memberCount}__**`)
3263}); //Codes
3264client.on('guildDelete', guild => {
3265 client.channels.get("ROOM ID").send(`? **${client.user.tag} طلع من سيرفر
3266Server name: __${guild.name}__
3267Server owner: __${guild.owner}__
3268Server id: __${guild.id}__
3269Server Count: __${guild.memberCount}__**`)
3270});//Codes
3271
3272» :Description: - وصف الكود :
3273 كود لو بوتك دخل او طلع سيرفر يطلعلك معلومات عنه
3274مثل اسمه
3275الاونر حقه
3276الاي دي
3277عدد الاعضاء
3278» :Creator: - صانع الكود : كودز القديم - حقوق كودز
3279» :Spreader: - ناشر الكود : @- Julian .
3280
3281- Codes Bot
3282BOT
328302/17/2019
3284@everyone, - جميع الحقوق محفوظة لدى كودز
3285client.on('message' , async (message) => {
3286var prefix = "-"
3287 if(message.content.startsWith(prefix + "tInv")) {
3288if(message.author.bot) return;
3289if(!message.channel.guild) return message.reply(' Error : \` Guild Command \`');
3290 var invites = await message.guild.fetchInvites();
3291 invites = invites.array();
3292 arraySort(invites, 'uses', { reverse: true });
3293 let possibleInvites = ['User Invited | Uses '];
3294 invites.forEach(i => {
3295 if (i.uses === 0) {
3296 return;
3297 }
3298 possibleInvites.push(['\n\ ' +'<@'+ i.inviter.id +'>' + ' : ' + i.uses]);
3299 if (i.uses === 10) {//يمديك تعدل رقم وصول العدد حق الانفايت الى اأقل أو أكثر
3300 message.member.addRole(message.member.guild.roles.find("name",""))//هنآ أسم ألرتبه اللي تجيهه
3301.catch(RebeL =>{
3302console.log('`Error`: ' + RebeL);
3303});
3304}
3305if (i.uses === 20) {
3306message.member.addRole(message.member.guild.roles.find("name",""))
3307.catch(RebeL =>{
3308console.log('`Error`: ' + RebeL);
3309});
3310}
3311!if (i.uses === 30) {
3312message.member.addRole(message.member.guild.roles.find("name",""))
3313.catch(RebeL =>{
3314console.log('`Error`: ' + RebeL);
3315});
3316 }//معلومه بسيطه يمديك تكرر العمليهه أكثر من مره
3317 })
3318 const embed = new Discord.RichEmbed()
3319 .setColor('#36393e')
3320 .addField("Top Invites." ,`${(possibleInvites)}`)
3321
3322 message.channel.send(embed)
3323 }//codes
3324});
3325
3326» :Description: - وصف الكود :
3327 الكود هو توب أنفآيت
3328الشخص وقت يوصل عدد أنفآيت محدد يجيه الرتبه المحدده
3329» :Creator: - صانع الكود : ريبل
3330» :Spreader: - ناشر الكود : @- Julian .
3331
3332- Julian .
333302/17/2019
3334ويعرض لك كم انفايت جبت
3335وتوب انفايتز
3336
3337@everyone, - جميع الحقوق محفوظة لدى كودز
3338https://pastebin.com/eVm8mD2x
3339
3340» :Description: - وصف الكود :
3341 يعطيك روابط حقتك الي مسويها + يحسبك كم واحد دخل بروابطك
3342» :Creator: - صانع الكود : @. NouNou
3343» :Spreader: - ناشر الكود : @. NouNou
3344
3345- Codes Bot
3346BOT
334702/17/2019
3348@everyone, - جميع الحقوق محفوظة لدى كودز
3349const fs = require('fs'); // npm i fs
3350const prefix = 'c#'; // you can change this
3351const account = JSON.parse(fs.readFileSync('./account.json', 'utf8')); // create " account.json " folder and put into it " {} "
3352
3353client.on('message', async message => {
3354 if (!message.guild) return;
3355 if (!account[message.author.id]) {
3356 account[message.author.id] = {
3357 reg: false,
3358 name: 'nothing'
3359 };
3360 }
3361 if (message.content === `${prefix}register`) {
3362 if (account[message.author.id].reg === true) return message.channel.send('? | لديك حساب مٌسجل بالفعل...');
3363 if (message.author.bot) return;
3364 const args = message.content.split(' ').slice(1);
3365 if (!args[0]) return message.channel.send('? | أدخل إسم للتسجيل به.');
3366 if (args[0]) {
3367 account[message.author.id].reg = true;
3368 account[message.author.id].name = args;
3369 await saveChanges();
3370 message.channel.send('You have registred your account !');
3371 }
3372 } else if (message.content === `${prefix}ping`) { // Example on usage | مثال على الأوامر :
3373 if (account[message.author.id].reg === false) return message.channel.send('? | يجب أن تكون مٌسجل لإستخدام هذا الأمر');
3374 message.channel.send('PONG');
3375 }
3376});
3377
3378function saveChanges() {
3379 return fs.writeFile('./account.json', JSON.stringify(account), error => {
3380 if (error) console.log(error);
3381 });
3382}
3383
3384» :Description: - وصف الكود :
3385 كود تسجيل حساب بالبوت
3386وما يقدر اي شخص يستخدم الاوامر بدون ما يسجل
3387» :Creator: - صانع الكود : @Deleted User
3388» :Spreader: - ناشر الكود : @- Julian .
3389
3390- Codes Bot
3391BOT
339202/17/2019
3393@everyone, - جميع الحقوق محفوظة لدى كودز
3394const fs = require('fs'); // npm i fs
3395const prefix = '='; // you can change this
3396const account = JSON.parse(fs.readFileSync('./account.json', 'utf8')); // create " account.json " folder and put into it " {} "
3397
3398client.on('message', async message => {
3399 if (!message.guild) return;
3400 if (!account[message.author.id]) {
3401 account[message.author.id] = {
3402 reg: false,
3403 name: 'nothing'
3404 };
3405 }
3406 if (message.content === `${prefix}register`) {
3407 if (account[message.author.id].reg === true) return message.channel.send('? | لديك حساب مٌسجل بالفعل...');
3408 if (message.author.bot) return;
3409 const args = message.content.split(' ').slice(prefix.length);
3410 if (!args[0]) return message.channel.send('? | أدخل إسم للتسجيل به.');
3411 if (args[0]) {
3412 account[message.author.id].reg = true;
3413 account[message.author.id].name = args;
3414 await saveChanges();
3415 message.channel.send('تم تسجيل الحساب !!');
3416 }
3417 } else if (message.content === `${prefix}ping`) {
3418 if (account[message.author.id].reg === false) return message.channel.send('? | يجب أن تكون مٌسجل لإستخدام هذا الأمر');
3419 message.channel.send('PONG');
3420 }
3421});
3422
3423function saveChanges() {
3424 return fs.writeFile('./account.json', JSON.stringify(account), error => {
3425 if (error) console.log(error);
3426 });
3427}
3428
3429» :Description: - وصف الكود :
3430 كود تسجيل حساب بالبوت
3431» :Creator: - صانع الكود : @Deleted User
3432» :Spreader: - ناشر الكود : @- Julian .
3433
3434- Julian .
343502/17/2019
3436نشرت الكود مرة ثانية عشان الي فوق كان فيه خطأ
3437
3438- Codes Bot
3439BOT
344002/18/2019
3441@everyone, - جميع الحقوق محفوظة لدى كودز
3442client.on('message', async message => {
3443if(message.author.bot) return;
3444if (message.channel.guild) {
3445if (message.content.startsWith(prefix + `Lmgtfy`)) {
3446 const textQuery = message.content.split(' ').slice(1).join(' ');
3447 const rebel = encode(message.content.split(' ').slice(1).join(' '));
3448 const url = `https://lmgtfy.com/?q=${rebel}`;
3449
3450 if (!rebel) return message.channel.send(`من فضلك أكتب البحث , مثآل : \`${prefix}Lmgtfy How to create a Discord server\`.`);
3451 else message.channel.send(`"${textQuery}"\n**<${url}>**`);
3452}}});
3453
3454» :Description: - وصف الكود :
3455 كود البحث
3456» :Creator: - صانع الكود : @Deleted User - كودز
3457» :Spreader: - ناشر الكود : @- Julian .
3458
3459- Codes Bot
3460BOT
346102/20/2019
3462@everyone, - جميع الحقوق محفوظة لدى كودز
3463client.on('message', message => {
3464 if (message.content.toLowerCase() === prefix + "move all") {
3465 message.delete(4000)
3466 if(!message.channel.guild) return;
3467 if (!message.member.hasPermission("MOVE_MEMBERS")) return;
3468 if(!message.guild.member(client.user).hasPermission("MOVE_MEMBERS")) return;
3469if (message.member.voiceChannel == null) return;
3470 var author = message.member.voiceChannelID;
3471 var m = message.guild.members.filter(m=>m.voiceChannel)
3472 message.guild.members.filter(m=>m.voiceChannel).forEach(m => {
3473 m.setVoiceChannel(author)
3474 })
3475 message.channel.send('\`Moved All Voice Members To Your Channel\`').then(m => m.delete(4000))
3476 }
3477 });
3478
3479» :Description: - وصف الكود :
3480 سحب كل الي في رومات الصوية لرومك
3481» :Creator: - صانع الكود : @. NouNou
3482» :Spreader: - ناشر الكود : @. NouNou
3483
3484Zuma
348502/20/2019
3486الرومات الصوتية*
3487
3488- Codes Bot
3489BOT
349002/21/2019
3491@everyone, - جميع الحقوق محفوظة لدى كودز
3492let input = "9x16";
3493let [rows, cols] = input.split(/x/i).map(o=>parseInt(o))
3494let matrix = Array.from({length: rows}, () => new Array(cols).fill(0));
3495var dx = 1, dy = 1, x = 0, y = 0, v = 1;
3496const bonus = (arr) => {
3497 if (!arr[x]) return;
3498 if (arr[x][y] == 0) arr[x][y] = v;
3499 if (!arr[x+1] && arr[x][y+1] != undefined ) dx = -dx;
3500 if (isNaN(arr[x][y+1]) && arr[x+1]) dy = -dy;
3501 if (!arr[x-1] && dx < 0 && arr[x][y+1] != undefined) dx = -dx;
3502 if (isNaN(arr[x][y-1]) && dy < 0 && arr[x+1]) dy = -dy;
3503 x += dx;
3504 y += dy;
3505 v++;
3506 bonus(arr);
3507}
3508bonus(matrix)
3509console.log(matrix)
3510
3511» :Description: - وصف الكود :
3512 الكود الي استخدمته في التحدي
3513انعكاس شعاع في مصفوفة
3514» :Creator: - صانع الكود : @Zuma
3515» :Spreader: - ناشر الكود : @Zuma
3516
3517Zuma
351802/21/2019
3519https://cdn.discordapp.com/attachments/545347691098538015/547053349246337035/IMG__.png
3520
3521
3522- Codes Bot
3523BOT
352402/22/2019
3525@everyone, - جميع الحقوق محفوظة لدى كودز
3526var minecrafta = [
3527 "",
3528 "",
3529 "",
3530 "",
3531 "",
3532 "",
3533 "",
3534 "",
3535 "",
3536 "",
3537 "",
3538 "",
3539 "",
3540 "",
3541 "",
3542 "",
3543 "",
3544 ""
3545];
3546
3547client.on('message', message => {
3548 if (message.content.startsWith("-minecraft")) {
3549 if(!message.channel.guild) return message.reply('** This command only for servers**');
3550var embed = new Discord.RichEmbed()
3551.setColor('RANDOM')
3552.setThumbnail(message.author.avatarURL)
3553.addField('Your Account Is : ' ,
3554`${minecrafta[Math.floor(Math.random() * minecrafta.length)]}`)
3555 message.author.sendEmbed(embed);
3556console.log('[minecrafta] Send By: ' + message.author.username)
3557 }
3558});
3559
3560» :Description: - وصف الكود :
3561 Random Account or anything
3562» :Creator: - صانع الكود : @Im Using PyCharm
3563» :Spreader: - ناشر الكود : @Im Using PyCharm
3564
3565- Codes Bot
3566BOT
356702/22/2019
3568@everyone, - جميع الحقوق محفوظة لدى كودز
3569client.on('message', message => {
3570 if(!message.channel.guild) return;
3571 if(message.content.startsWith(prefix + 'allbots')) {
3572
3573
3574 if (message.author.bot) return;
3575 let i = 1;
3576 const botssize = message.guild.members.filter(m=>m.user.bot).map(m=>`${i++} - <@${m.id}>`);
3577 const embed = new Discord.RichEmbed()
3578 .setAuthor(message.author.tag, message.author.avatarURL)
3579 .setDescription(`**Found ${message.guild.members.filter(m=>m.user.bot).size} bots in this Server**
3580${botssize.join('\n')}`)
3581.setFooter(client.user.username, client.user.avatarURL)
3582.setTimestamp();
3583message.channel.send(embed)
3584
3585}
3586
3587
3588});
3589
3590» :Description: - وصف الكود :
3591 كل البوتات الي في السيرفر تكتب
3592{prefix}allbots
3593» :Creator: - صانع الكود : كان في بوتي JS معرف صراحة
3594» :Spreader: - ناشر الكود : @Im Using PyCharm
3595
3596- Codes Bot
3597BOT
359802/22/2019
3599@everyone, - جميع الحقوق محفوظة لدى كودز
3600client.on("message", msg => {
3601 var prefix = '-';
3602 if(msg.channel.type !== 'dm') return;
3603 if(msg.author.id !== "ايدي حقك") return;
3604 if(msg.content.startsWith(prefix + "say")) {
3605 let args = msg.content.slice(4);
3606 let room = msg.mentions.channels.first();
3607let text = args.replace(room, "");
3608 if(!text) return msg.channel.send("? **الرجاء قم بكتابة النص**")
3609 if(!room) return msg.channel.send("**I Can't Find RooM ?**");
3610
3611 room.send(text)
3612 .then(msg.channel.send(`**${room} تم ارسال في ? **`).then(m => m.delete(6000)));
3613 }
3614
3615});
3616
3617» :Description: - وصف الكود :
3618 كود ساي بس في الخاص بوت
3619بس تكتب -say <#idroom
3620وكلامك
3621» :Creator: - صانع الكود : @. NouNou
3622» :Spreader: - ناشر الكود : @. NouNou
3623
3624- Codes Bot
3625BOT
362602/26/2019
3627@everyone, - جميع الحقوق محفوظة لدى كودز
3628const prefix = "!" // البرفكس
3629client.on("message", (message) => {
3630 if (message.author.bot) return;
3631 if (0 != message.content.indexOf(prefix)) return;
3632 const [command, ...args] = message.content.slice(prefix.length).split(/ +/g);
3633 if (command === "role") { // غير اسم الامر من هنا
3634 let freeRole = message.guild.roles.find(role => role.name == "اسم الرول الي راح ياخذه من الامر");
3635 if (!freeRole) return message.reply("Hey, this role seems to be deleted i can\'t find it");
3636 if (message.member.roles.some(role => role.name == freeRole.name)) {
3637 message.member.removeRole(freeRole).then(() => {
3638 message.reply("the role removed !")
3639 })
3640 .catch(() => {
3641 message.reply("something went wrong, i can\'t remove the role from you.")
3642 });;
3643 } else {
3644 message.member.addRole(freeRole)
3645 .then(() => {
3646 message.reply("you got it!")
3647 })
3648 .catch(() => {
3649 message.reply("something went wrong, i can\'t give you the role.")
3650 });
3651 }
3652 }
3653});
3654
3655» :Description: - وصف الكود :
3656 كود اعطاء رول عن طريق الامر
3657غير المطلوب في الكود طبعا الكود بدون
3658السورس الاساسي ضيفه بنفسك
3659لو بدك تجرب الامر موجود بوت هنا
3660الكود يشيل الرول لو كتبت الامر مرة اخرى
3661@Axel
3662الامر
3663::challenger
3664» :Creator: - صانع الكود : @Zuma
3665» :Spreader: - ناشر الكود : @Zuma
3666
3667- Codes Bot
3668BOT
366902/28/2019
3670@everyone, - جميع الحقوق محفوظة لدى كودز
3671https://pastebin.com/EE09jqT5
3672
3673» :Description: - وصف الكود :
3674 كود بروفايل نفس اس بوت
3675
3676فيه كل شي
3677
3678شراء صور بروفايل .. الخ
3679
3680الزبده في ملفات مهمه انا حطيتها في رابط
3681https://www11.zippyshare.com/v/R4I8f50L/file.html
3682هذا هو
3683» :Creator: - صانع الكود : مادري صراحه
3684يلي يعرف من الشخص يلي سواه من السبورتات يكتب اسمه تحت بالله
3685» :Spreader: - ناشر الكود : @Deleted User
3686SmartProfile.rar
3687Zippyshare.com - Free File Hosting
3688
3689- Codes Bot
3690BOT
369102/28/2019
3692@everyone, - جميع الحقوق محفوظة لدى كودز
3693client.on("message",msg =>{
3694 let limit = 100; // عدد الرسائل المسموح بها قبل التنضيف
3695 if(msg.channel.type !== "text") return;
3696 msg.channel.fetchMessages().then(mm=>{
3697 if(mm.size >= limit){
3698 msg.channel.bulkDelete(100).then(() => {
3699 const embed = new Discord.RichEmbed()
3700 .setColor(0xF16104)
3701 .setDescription(`Cleared Channel messages.`)
3702 msg.channel.send({ embed }).then( z => z.delete(1600));
3703 }).catch(err=>msg.channel.send(err.message))
3704 }
3705 })
3706 })
3707
3708» :Description: - وصف الكود :
3709 كود التنضيف التلقائي
3710تحدد العدد النهائي للرسائل
3711واذا وصل الشات للعدد هذا ينضفة مثلا
3712حطيت عدد الرسائل 100
3713اذا صار فيه 100 رسالة بالشات يتنضف الشات تلقائي
3714» :Creator: - صانع الكود : The King @Deleted User
3715» :Spreader: - ناشر الكود : @Deleted User
3716
3717- Codes Bot
3718BOT
371903/01/2019
3720@everyone, - جميع الحقوق محفوظة لدى كودز
3721https://pastebin.com/3PJnADEd
3722
3723» :Description: - وصف الكود :
3724 كود اوتو رول ب ريأكشن مع امكانيه تحديد الروم والرول والريأكشن الي تبيه :)
3725https://cdn.discordapp.com/attachments/535134226765578241/550792321793392660/GIF.gif
3726Any Bug? @Deleted User
3727» :Creator: - صانع الكود : The Boss @Deleted User
3728» :Spreader: - ناشر الكود : @Deleted User
3729
3730
3731- Codes Bot
3732BOT
373303/01/2019
3734@everyone, - جميع الحقوق محفوظة لدى كودز
3735```JS
3736client.on('message', message => {
3737 if(message.content.startsWith ("p?marry")) {
3738 if(!message.channel.guild) return message.reply('**This command only for servers**')
3739 var proposed = message.mentions.members.first()
3740
3741 if(!message.mentions.members.first()) return message.reply(' +2D3eDw **You should mention the girl that you want to marry**').catch(console.error);
3742 if(message.mentions.users.size > 1) return message.reply(' +2D3eMw **You can only marry one girl**').catch(console.error);
3743 if(proposed === message.author) return message.reply(`**.**`);
3744 if(proposed === client.user) return message.reply(`** Do you want to marry me? **`);
3745 message.channel.send(`**${proposed}
3746 Do you accept ${message.author} marry request
3747 You have 30 sec
3748 Write yes or no**`)
3749
3750const filter = m => m.content.startsWith("yes");
3751message.channel.awaitMessages(filter, { max: 1, time: 30000, errors: ['time'] })
3752.then(collected =>{
3753 message.channel.send(` **${message.author} +Bkg ${proposed} Congratulations, you have got married +2D3ccA +2DzfiQ** `);
3754})
3755
3756 const filte = m => m.content.startsWith("no");
3757message.channel.awaitMessages(filte, { max: 1, time: 30000, errors: ['time'] })
3758.then(collected =>{
3759 message.channel.send(` **${message.author} Unfortunately We wont eat wedding cake this time +2D3eFA** `);
3760})
3761
3762 }
3763});
3764```
3765» :Description: - وصف الكود :
3766 كود لعبة الزواج
3767» :Creator: - صانع الكود : والله ما ادري مين الي يعرف يقولي
3768» :Spreader: - ناشر الكود : @ما اعرف وش الفرق بين if & switch
3769
3770- Codes Bot
3771BOT
377203/03/2019
3773@everyone, - جميع الحقوق محفوظة لدى كودز
3774client.on('message' , message => {
3775
3776 let totalDMs = client.channels.filter(function(s) {
3777 if (s.type && s.type === 'dm') {
3778 return true;
3779 }
3780 return false;
3781 })
3782
3783
3784 if(message.content.startsWith(prefix + "PMessages") || message.content.startsWith(prefix+"PConversetions") ){
3785 const embed = new Discord.RichEmbed()
3786 .setColor('RANDOM')
3787 .addField('» Private Conversations:' , `**\`${totalDMs.size}\`**`)
3788message.channel.send(embed)
3789 }
3790 })
3791
3792» :Description: - وصف الكود :
3793 كود بسيط جدآ .. يرسلك رقم الرسائل اللي أنرسلت للبوت خاص
3794مافية قاعدة بيانات فا كل ماترستر البوت يعيد نفسة .
3795» :Creator: - صانع الكود : @Ship
3796» :Spreader: - ناشر الكود : @Ship
3797
3798- Codes Bot
3799BOT
380003/04/2019
3801@everyone, - جميع الحقوق محفوظة لدى كودز
3802client.on("message", message => {
3803 if(message.content == `${prefix}support`) {
3804 const ListEmbed = new Discord.RichEmbed()
3805 .setTitle('Users with the support role:')
3806 .setDescription(message.guild.roles.get('اي دي الرتبة').members.map(m=>m.user.tag).join('\n'));
3807 message.channel.send(ListEmbed);
3808 }
3809 });
3810
3811» :Description: - وصف الكود :
3812 كود يطلعلك اسماء الاشخاص الموجودين بالرتبة
3813انت تحددها بالكود
3814» :Creator: - صانع الكود : stackoverflow
3815» :Spreader: - ناشر الكود : @- Julian .
3816
3817- Julian .
381803/04/2019
3819نزلت الكود عشان في شخص طلبه
3820
3821- Codes Bot
3822BOT
382303/04/2019
3824@everyone, - جميع الحقوق محفوظة لدى كودز
3825client.on("message", message => {
3826 var prefix = "#";
3827 if(message.content.startsWith(prefix + "embed")) {
3828
3829
3830var color = message.content.split(" ")[1];
3831 var text = message.content.split(" ").slice(2);
3832 var tt = text.join(" ")
3833 if(!color) return message.reply("يجب كتابة لون الامبد الذي تريده");
3834 if(!tt) return message.reply("يجب كتابة كلام لتكراره");
3835 let embed = new Discord.RichEmbed()
3836 .setColor(color)
3837 .setDescription(tt)
3838 message.channel.send(embed).catch(Julian =>{console.log('`Error`: ' + Julian);
3839message.channel.send("`Error`:" + Julian)
3840 })
3841 }
3842 });
3843
3844» :Description: - وصف الكود :
3845 كود امبد وانت تختار الون من الامر مثلا
3846#embed RED test
3847رح يكتبلي
3848test
3849بامبد ولون الامبد احمر وتقدر اي لون
3850» :Creator: - صانع الكود : @- Julian .
3851» :Spreader: - ناشر الكود : @- Julian .
3852
3853- Julian .
385403/04/2019
3855#embed RED codes
3856
3857- Codes Bot .
3858BOT
385903/04/2019
3860codes
3861
3862- Julian .
386303/04/2019
3864#embed GOLD codes
3865
3866- Codes Bot .
3867BOT
386803/04/2019
3869codes
3870
3871- Julian .
387203/04/2019
3873ويمديك كمان تحط لون خاص
3874HEX
3875#embed #42f4aa codes
3876
3877- Codes Bot .
3878BOT
387903/04/2019
3880codes
3881
3882كريهههههه
388303/04/2019
3884#embed RED Ra3d
3885
3886- Codes Bot .
3887BOT
388803/04/2019
3889Ra3d
3890
3891- Codes Bot
3892BOT
389303/05/2019
3894@everyone, - جميع الحقوق محفوظة لدى كودز
3895https://pastebin.com/LQaxveGw
3896
3897» :Description: - وصف الكود :
3898 كود اقتراحات مطور يخزن لك معلومات الأقتراحات بملف جسون وطبعاً يمديك تشيل اي اقتراح تبيه بواسطه امر, شوف الكود عشان تفهم في اوامر زيادة
3899» :Creator: - صانع الكود : @Damon
3900» :Spreader: - ناشر الكود : @Damon
3901
3902- Codes Bot
3903BOT
390403/06/2019
3905@everyone, - جميع الحقوق محفوظة لدى كودز
3906edited.on('message', message => {
3907 if (message.content.toLowerCase().startsWith(prefix + `top-servers`)) {
3908
3909 const top = edited.guilds.sort((a, b) => a.memberCount - b.memberCount).array().reverse()
3910 message.channel.send(`**? Top 25 Servers: **\n1. **${top[0].name}**: ${top[0].memberCount} \n2. **${top[1].name}**: ${top[1].memberCount}.\n3. **${top[2].name}**: ${top[2].memberCount}.\n4. **${top[3].name}**: ${top[3].memberCount}.\n5. **${top[4].name}**: ${top[4].memberCount}.\n6. **${top[5].name}**: ${top[5].memberCount}.\n7. **${top[6].name}**: ${top[6].memberCount}.\n8. **${top[7].name}**: ${top[7].memberCount}.\n9. **${top[8].name}**: ${top[8].memberCount}.\n10. **${top[9].name}**: ${top[9].memberCount} .\n11. **${top[10].name}**: ${top[10].memberCount} .\n12. **${top[11].name}**: ${top[11].memberCount} .\n13. **${top[12].name}**: ${top[12].memberCount} .\n14. **${top[13].name}**: ${top[13].memberCount} .\n15. **${top[14].name}**: ${top[14].memberCount} .\n16. **${top[15].name}**: ${top[15].memberCount} .\n17. **${top[16].name}**: ${top[16].memberCount} .\n18. **${top[17].name}**: ${top[17].memberCount} .\n19. **${top[18].name}**: ${top[18].memberCount} .\n20. **${top[19].name}**: ${top[19].memberCount} .\n21. **${top[20].name}**: ${top[20].memberCount} .\n22. **${top[21].name}**: ${top[21].memberCount} .\n23. **${top[22].name}**: ${top[22].memberCount} .\n24. **${top[23].name}**: ${top[23].memberCount} .\n25. **${top[24].name}**: ${top[24].memberCount} .`)
3911 }
3912});
3913
3914» :Description: - وصف الكود :
3915 الكود التاريخي اللي كل الشعب يقول سووة بروم الإقتراحات رغم أنة 5 سطور
3916كود التوب سيرفرز ..
3917الفكرة مأخوذة من كود كان منشور فوق ^
3918» :Creator: - صانع الكود : @Ship
3919» :Spreader: - ناشر الكود : @Ship
3920
3921- Codes Bot
3922BOT
392303/06/2019
3924@everyone, - جميع الحقوق محفوظة لدى كودز
3925https://pastebin.com/21uRPvkG
3926
3927» :Description: - وصف الكود :
3928 -يمديك تحط اوتو رول وتغيره وقت م تبي لأكثر من سيرفر
3929- يمديك تحط رسالة تجي بالخاص وتشيلها بكوماندات وقت م تبي
3930-وكمان لو ناسي الأوتو رول الي حاطه يمديك تعرف الأوتو رول بكوماند محدد
3931^ كل الأوامر ذي وشرحها بتلاقونها بالرابط
3932» :Creator: - صانع الكود : @Damon
3933» :Spreader: - ناشر الكود : @Damon
3934
3935- Codes Bot
3936BOT
393703/06/2019
3938@everyone, - جميع الحقوق محفوظة لدى كودز
3939client.on('message', message => {
3940 if (message.content.toLowerCase().startsWith(prefix+"top-servers")) {
3941 const top = client.guilds.sort((a, b) => a.memberCount - b.memberCount).array().reverse()
3942 let tl = "";
3943 for (let i=0;i<=25;i++) {
3944 if (!top[i]) continue;
3945 tl += i+" - "+top[i].name+" : "+top[i].memberCount+"\n"
3946 }
3947 message.channel.send(tl)
3948 }
3949});
3950
3951» :Description: - وصف الكود :
3952 كود التوب سيرفرز
3953بطريقه احلي واسهل ._.
3954» :Creator: - صانع الكود : @xZaaaM.
3955» :Spreader: - ناشر الكود : @xZaaaM.
3956
3957- Codes Bot
3958BOT
395903/07/2019
3960@everyone, - جميع الحقوق محفوظة لدى كودز
3961const { Client, RichEmbed, Attachment } = require('discord.js');
3962const fetch = require('node-fetch');
3963const client = new Client();
3964
3965client.on('message', async message => {
3966 let prefix = '?';
3967
3968 const [command, ...args] = message.content.slice(prefix.length).trim().split(/ +/g);
3969
3970 if (command.toLowerCase().startsWith(`minecraft`)) {
3971
3972 const res = await fetch('https://api.mojang.com/users/profiles/minecraft/' + encodeURIComponent(...args));
3973 try {
3974 var { id, name } = await res.json();
3975 } catch (error) {
3976 return message.channel.send(`:x: Please enter a vaild member`);
3977 }
3978 // const skin3d = new Attachment(`https://visage.surgeplay.com/full/${id}.png`, `${id}.png`)
3979 const embed = new RichEmbed()
3980 .setAuthor(`${name} (${id})`, `https://crafatar.com/avatars/${id}`, `https://namemc.com/${name}`)
3981 // .attachFile(skin3d)
3982 // .setImage(`attachment://${id}.png`) <<< takes long time
3983 .setImage(`https://visage.surgeplay.com/bust/${id}.png`)
3984 .setFooter(`Requsted by ${message.author.tag} (${message.author.id})`)
3985 .setDescription(`**[Skin URL](https://visage.surgeplay.com/skin/${id}) - [Preview Full Skin](https://visage.surgeplay.com/full/${id}.png)**`)
3986 .setColor('ORANGE')
3987 return message.channel.send(embed)
3988 }
3989})
3990
3991
3992
3993
3994client.login(`توكن بوتك`);
3995
3996» :Description: - وصف الكود :
3997 كود سكن ميني كرافت :thumbsup:
3998» :Creator: - صانع الكود : @Abady
3999» :Spreader: - ناشر الكود : @Abady
4000
4001- Codes Bot
4002BOT
400303/07/2019
4004@everyone, - جميع الحقوق محفوظة لدى كودز
4005https://pastebin.com/K0N03p6J
4006
4007» :Description: - وصف الكود :
4008 كود لعبة حزر الجملة / الكلمة
4009لكن هذي المرة انت بتكون المسؤول عن اللعبة انت بتجيب الكلمات وتحطها بالبوت وانت تلمح لهم
4010وهم يحزرون الجملة او الكلمة
4011تم صنع الكود هذا بناء على طلب شخص من الأقتراحات
4012لو في اي قلتش تواصل معي عشان اصلحه
4013» :Creator: - صانع الكود : @Damon
4014» :Spreader: - ناشر الكود : @Damon
4015
4016- Codes Bot
4017BOT
401803/11/2019
4019@everyone, - جميع الحقوق محفوظة لدى كودز
4020https://pastebin.com/EcgNgZF1
4021
4022» :Description: - وصف الكود :
4023 كود بيع رتبة VIP مثل #buy
4024» :Creator: - صانع الكود : @.Ma
4025» :Spreader: - ناشر الكود : @.Ma
4026
4027.Ma
402803/11/2019
4029يحتاج ملف ب أسم (vipKeys.json)
4030حط داخلة {}
4031
4032- Codes Bot
4033BOT
403403/11/2019
4035@everyone, - جميع الحقوق محفوظة لدى كودز
4036https://pastebin.com/Yk3dbabF
4037
4038» :Description: - وصف الكود :
4039 كود العاب , زي م وعدتكم
4040فكك / اسرع / ترجمة / نقاط
4041mysql database
4042» :Creator: - صانع الكود : @Azoqz
4043» :Spreader: - ناشر الكود : @Azoqz
4044
4045- Codes Bot
4046BOT
404703/12/2019
4048@everyone, - جميع الحقوق محفوظة لدى كودز
4049const Discord = require("discord.js");
4050const client = new Discord.Client();
4051const fetch = require("node-fetch");
4052
4053const prefix = "-";
4054client.on("message", (message) => {
4055 if (message.author.bot) return;
4056 if (message.content.indexOf(prefix) != 0) return;
4057 const [command, ...args] = message.content.slice(prefix.length).split(/ +/g);
4058 if (command === "avatar") {
4059 var users = message.mentions.users, user;
4060 if (users.first()) args.shift();
4061 user = users.first() || message.author;
4062 var order = args.shift() || "pic";
4063 if (order == "pic") {
4064 var format = user.displayAvatarURL.match(/\.(jpg|gif|png)/g);
4065 fetch(user.displayAvatarURL)
4066 .then(data => data.arrayBuffer())
4067 .then(ArrayBuffer => {
4068 let buffer = new Buffer.from(ArrayBuffer);
4069 let avatar = new Discord.Attachment(buffer, `user_avatar${format.join("") || "png"}`);
4070 message.channel.send(avatar)
4071 })
4072 } else if (order === "link") {
4073 message.channel.send(user.displayAvatarURL);
4074 } else {
4075 message.channel.send("what ?")
4076 }
4077 }
4078});
4079
4080client.login("token here");
4081
4082» :Description: - وصف الكود :
4083 كود افتار، كود صورة بروفايل، avatar
4084ملاحظة:الكود مع السورس الأساسي
4085طريقة الإستخدام
4086-avatar <@mention> <link | pic>
4087@mention منشن شخص
4088link اذا بدك الصورة رابط
4089pic اذا بدك الصورة ملف
4090اذا ما بتحط خيار من الاثنين يختارلك pic
4091اذا بدك افتار حقك ما يحتاج منشن
4092-avatar <link | pic>
4093» :Creator: - صانع الكود : @Zuma
4094» :Spreader: - ناشر الكود : @Zuma
4095
4096Zuma
409703/12/2019
4098البكجات
4099node-fetch, discord.js
4100
4101- Codes Bot
4102BOT
410303/12/2019
4104@everyone, - جميع الحقوق محفوظة لدى كودز
4105client.on("guildMemberAdd", member => {
4106 client.channels.find('id', 'أي دي الشات').send(`**welcome to Codes : [ ${member} ]**`)
4107});
4108
4109» :Description: - وصف الكود :
4110 كود ترحيب بشات تحدده عن طريق الاي دي
4111» :Creator: - صانع الكود : @# - ? ? M O N
4112» :Spreader: - ناشر الكود : @# - ? ? M O N
4113
4114- Julian .
411503/12/2019
4116._.
4117
4118- Codes Bot
4119BOT
412003/13/2019
4121@everyone, - جميع الحقوق محفوظة لدى كودز
4122https://pastebin.com/cFBQjFkr
4123
4124» :Description: - وصف الكود :
4125 كود فويس اون لاين مع تحديد الروم والغاء التفعيل ولو طفى البوت واشتغل ما يطفي
4126» :Creator: - صانع الكود : @Deleted User
4127» :Spreader: - ناشر الكود : @Deleted User
4128
4129Deleted User
413003/13/2019
4131طبعا يحتاج بكج fs
4132npm i fs
4133ويحتاج ملف باسم
4134vojson.json
4135وتحط داخله {}
4136
4137- Codes Bot
4138BOT
413903/14/2019
4140@everyone, - جميع الحقوق محفوظة لدى كودز
4141client.on('message' , message => {
4142 if(message.author.bot) return;
4143
4144 if(message.content.startsWith(prefix + "bcrole")) {
4145 if (!message.member.hasPermission("ADMINISTRATOR")) return;
4146 let args = message.content.split(" ").slice(2);
4147 var codes = args.join(' ')
4148
4149 if(!codes) {
4150 message.channel.send("قم بكتابة الرسالة | `$rolebc role message`")
4151 return;
4152 }
4153
4154
4155 var role = message.mentions.roles.first();
4156 if(!role) {
4157 message.reply("لا توجد رتبة بهذا الاسم")
4158 return;
4159 }
4160 message.guild.members.filter(m => m.roles.get(role.id)).forEach(n => {
4161 n.send(`${codes}`)
4162 })
4163 message.channel.send(`لقد تم ارسال هذه الرسالة الى ${message.guild.members.filter(m => m.roles.get(role.id)).size} عضو`)
4164 }
4165 });
4166
4167» :Description: - وصف الكود :
4168 كود برودكاست لرتبه معينه
4169» :Creator: - صانع الكود : الصراحه مدري ,
4170» :Spreader: - ناشر الكود : @! Dr.Asiri
4171
4172! Abdul.
417303/14/2019
4174انا صانع الاساس تقريباً
4175وواحد عدل عليه
4176
4177- Codes Bot
4178BOT
417903/15/2019
4180@everyone, - جميع الحقوق محفوظة لدى كودز
4181const blocksmc = require('blocksmc');
4182client.on("message", msg => {
4183 if(msg.content.startsWith("blocks")){
4184 const embed = new Discord.RichEmbed()
4185 blocksmc.player(msg.content.split(" ").slice(1)).then(player => {
4186 player.map(g => {
4187
4188 embed.addField(g.game, ` Kills: ${g.stats.Kills} \n Deaths: ${g.stats.Deaths}`, true)
4189
4190 });
4191 msg.channel.send(embed)
4192 });
4193
4194 }
4195});
4196
4197» :Description: - وصف الكود :
4198 كود معلومات اللاعب في بلوكس (شكرا ل @Abady هو الي سوا البكج)
4199» :Creator: - صانع الكود : @xRokz @Abady
4200» :Spreader: - ناشر الكود : @xRokz
4201
4202xRokz
420303/15/2019
4204http://prntscr.com/my14aw
4205طبعا كود بسيط جدا
4206Lightshot
4207Screenshot
4208
4209بس سويته علشان البكج الي سواه Abady :joy:
4210@here
4211لا تنسو
4212npm i blocksmc
4213
4214- Codes Bot
4215BOT
421603/15/2019
4217@everyone, - جميع الحقوق محفوظة لدى كودز
4218client.on('ready', () => {
4219 setInterval (function () {
4220 client.guilds.get('ايدي السيرفر يلي يرسل فيه الدايلي').channels.get('ايدي الشات يلي يرسل فيه امر الدايلي').send(`#daily`)
4221
4222 }, 86400000);
4223 })
4224
4225» :Description: - وصف الكود :
4226 كود قميل
4227يرسل عنك امر الدايلي كل 24 ساعه
4228(كود تسليكي لان مافي افكار )
4229» :Creator: - صانع الكود : @Deleted User
4230» :Spreader: - ناشر الكود : @Deleted User
4231
4232- Codes Bot
4233BOT
423403/15/2019
4235@everyone, - جميع الحقوق محفوظة لدى كودز
4236https://pastebin.com/bNhwWCy0
4237
4238» :Description: - وصف الكود :
4239 كود ميوت لو احد طلع من السيرفر ورجع يرجع له الميوت
4240-يمديك تضيف اوقات ميوت في الكود قد ما تبي
4241-لو البوت طفى مدة الميوت م بتختفي
4242-Enjoy :MoonFace:
4243لو في اي قلتش كلمني عشان اصلحه في اسرع وقت ممكن
4244» :Creator: - صانع الكود : @Azoqz
4245» :Spreader: - ناشر الكود : @Azoqz
4246
4247- Codes Bot
4248BOT
424903/15/2019
4250@everyone, - جميع الحقوق محفوظة لدى كودز
4251const Discord = require("discord.js");
4252const client = new Discord.Client();
4253
4254const prefix = "-";
4255var usage = `\`${prefix}bc <content>\``
4256
4257
4258client.on("message", (message) => {
4259 if (message.author.bot) return;
4260 if (message.content.indexOf(prefix) != 0) return;
4261 const [command, ...args] = message.content.slice(prefix.length).split(/ +/g);
4262 if (command === "bc") {
4263 if (!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(`**?|${message.author.username}, Admins Only`);
4264 if (args.length == 0) message.channel.send(`**?|${message.author.username}, the correct usage is ${usage}**`);
4265 var idx = 0, fails = 0;
4266 message.channel.send(`${idx} received from ${message.guild.members.size} \n ${fails} fails`).then(res => {
4267 setInterval(() => {
4268 res.edit(`${idx} received from ${message.guild.members.size} \n ${fails} fails`)
4269 }, 3000)
4270 message.guild.members.map(member => {
4271 var content = args.join(" ").replace(/\[mention\]|\[ping\]|\[user\]/g, `<@${member.id}>`) // use less variables in loop
4272 setTimeout(() => {
4273 member.send({
4274 embed: {
4275 description: content,
4276 color: 990000,
4277 footer: {
4278 text: message.guild.name
4279 }
4280 }
4281 }).then(() => {
4282 idx++;
4283 }).catch((err) => {
4284 fails++;
4285 });
4286 }, idx * 5);
4287 });
4288 });
4289 }
4290});
4291
4292client.login()
4293
4294» :Description: - وصف الكود :
4295 كود بي سي للكل مع السورس
4296وبعد يرسلك احصائيات
4297اسف مو بالمستوى المطلوب لاني جوال
4298» :Creator: - صانع الكود : @Zuma
4299» :Spreader: - ناشر الكود : @Zuma
4300
4301- Codes Bot
4302BOT
430303/15/2019
4304@everyone, - جميع الحقوق محفوظة لدى كودز
4305var prefix = "-";
4306
4307client.on("message", async message => {
4308 const args = message.content.slice(prefix.length).trim().split(/ +/g);
4309 const command = args.shift().toLowerCase();
4310 if(message.author.id != "401406828820299777") return;
4311 if(message.author.bot) return;
4312 if (command == "leave") {
4313 if(!args[0] || args[1]) return message.reply(`**${prefix}leave <guild_id>**`);
4314 let GuildId = client.guilds.get(args[0])
4315 if(!GuildId) return message.reply(`** Guild ID is not Detected**`);
4316 GuildId.leave().then(m => message.channel.send("**I have Left "+GuildId.name+" ?**"))
4317 }
4318})
4319
4320» :Description: - وصف الكود :
4321 كود يطلعلك البوت من السيرفر
4322
4323لاتنسى الاي دي حقك
4324
4325-leave <guild_id>
4326» :Creator: - صانع الكود : كان في كودز قدميا :)
4327» :Spreader: - ناشر الكود : @. NouNou
4328
4329- Codes Bot
4330BOT
433103/17/2019
4332@everyone, - جميع الحقوق محفوظة لدى كودز
4333if(message.content.startsWith(prefix + "private")){ //يقفل الشاتات
4334 message.guild.channels.forEach(c=>{
4335 let role = message.guild.roles.find(r => r.name === "@everyone");
4336 c.overwritePermissions(role, {
4337 READ_MESSAGES: false
4338 });
4339 })
4340 }
4341 if(message.content.startsWith(prefix + "openall")){ //يفتح الشاتات
4342 //الفلتر الموجود يمديك تضيف فيه اسامي الشاتات الي م تبيها تنفتح
4343 //او تغير !==
4344 //ل ===
4345 //وبيصير يفتح الشاتات الي حددتها
4346 //كل م تبي تضيف شات تسوي
4347 // && c.name !== "اسم الشات"
4348 message.guild.channels.filter(c => c.name !== "اسم رقم 1" && c.name !== "اسم رقم 2 يمديك تزيد لو تبي").forEach(c=>{
4349 let role = message.guild.roles.find(r => r.name === "@everyone");
4350 c.overwritePermissions(role, {
4351 READ_MESSAGES: true
4352 });
4353 })
4354 }
4355
4356» :Description: - وصف الكود :
4357 كود يقفلك الشاتات كلها
4358وكود يفتحلك الشاتات كلها مع تحديد وش الشاتات الي المفروض م يفتحها في الكود نفسه
4359طبعًأ سويت الكود بناء على طلب شخص في الأقتراحات
4360» :Creator: - صانع الكود : @Azoqz
4361» :Spreader: - ناشر الكود : @Azoqz
4362
4363- Codes Bot
4364BOT
436503/17/2019
4366@everyone, - جميع الحقوق محفوظة لدى كودز
4367const _3amyah = require("3amyah");
4368
4369client.on('message', message => {
4370 let args = message.content.split(" ")
4371 if (args[0] == "3amya") {
4372 _3amyah.search(args.slice(1, 5)).then(words => {
4373 if (!words[0]) return message.channel.send("لا استطيع ايجاد هذه الكلمه")
4374 let e = new Discord.RichEmbed()
4375 e.setColor("#EFEFEF")
4376 e.setTitle("عــامــيــة")
4377 e.addField("الـتـعـريـف : ", `\`\`\`${words[0].definition}\`\`\``)
4378 e.addField("مـثـال :", `\`\`\`${words[0].example.replace("@", " ")}\`\`\``)
4379 e.addField("بـواسطة :", `\`\`\`${words[0].author}\`\`\``)
4380 e.addField("الـدول الـتـي تـسـتـخـدمـهـا :", `\`\`\` (${words[0].countryList.join(" - ")}) \`\`\``)
4381 e.addField("وقـت الـنـشـر :", `\`\`\` ${words[0].dateCreated} \`\`\``)
4382
4383 message.channel.send(e)
4384
4385 })
4386 }
4387})
4388
4389» :Description: - وصف الكود :
4390 كود عاميه ._.
4391» :Creator: - صانع الكود : @xZaaaM.
4392» :Spreader: - ناشر الكود : @xZaaaM.
4393
4394- Julian .
439503/18/2019
4396:spoderman:
4397
4398- Codes Bot
4399BOT
440003/18/2019
4401@everyone, - جميع الحقوق محفوظة لدى كودز
4402const _3amyah = require("3amyah");
4403client.on("message", msg =>{
4404 if(msg.content.startsWith(`${prefix}3amyh`)){
4405let Word = msg.content.split(` `).slice(1).join(' ');
4406if(!Word) return msg.reply("الرجاء ادخال الكلمة المراد البحث عنها").then(z=>z.delete(3000));
4407_3amyah.search(Word).then(words => {
4408if(!words[1]) return msg.reply("لم يتم العثور على الكلمة").then(z=>z.delete(3000));
4409
4410 let embed = new Discord.RichEmbed()
4411 .setColor("RANDOM")
4412 .setAuthor(msg.author.username,msg.author.displayAvatarURL)
4413 .setThumbnail(msg.author.displayAvatarURL)
4414 .setTimestamp()
4415 .addField("**الكلمة**",`**${words[1]["word"].replace(/`@/g,"")}**`,true)
4416 .addField("**معنى الكلمة**",`**${words[1]["definition"].replace(/`@/g,"")}**`,true)
4417 .addField("**مثال**",`**${words[1]["example"].replace(/`@/g,"")}**`,true)
4418 .addField("**تم اضافة الكلمة من قبل**",`**${words[1]["author"].replace(/`@/g,"")}**`,true)
4419 .addField("**تستخدم هذي الكلمة في**",`**${words[1]["countryList"]}**`,true)
4420 .addField("**تاريخ اضافة الكلمة**",`**${words[1]["dateCreated"].replace(/`@/g,"")}**`,true)
4421 msg.channel.send(embed);
4422})
4423}})
4424
4425» :Description: - وصف الكود :
4426 كود للبحث عن الكلمات العامية او كلمات الشوارع
4427مثل :
4428#3amyh شكو ماكو
4429» :Creator: - صانع الكود : @.Ma
4430» :Spreader: - ناشر الكود : @.Ma
4431
4432.Ma
443303/18/2019
4434^^ حليت مشكلة ال`@
4435
4436! Abdul.
443703/18/2019
4438الـــ @ م هي مشكلة
4439لانه بالموقع اذا كانت فيه كلمة بالمعنى وموجود معنى هذي الكلمة بالموقع يحط قبله @
4440وتصير الكلمة ذي رابط
4441
4442$3amyah اي
4443
4444Lucas.
4445BOT
444603/18/2019
4447عــامــيــة
4448الـتـعـريـف :
4449إي ، تعني : نعم . فهو حرف جواب .
4450مـثـال :
4451سافرت ؟ إي
4452بـواسطة :
4453محمد الهاشمي
4454الـدول الـتـي تـسـتـخـدمـهـا :
4455 (IQ)
4456وقـت الـنـشـر :
4457 2016-07-22T12:53:58Z
4458
4459Zuma
446003/18/2019
4461ترا مو شات
4462
4463- Codes Bot
4464BOT
446503/19/2019
4466@everyone, - جميع الحقوق محفوظة لدى كودز
4467https://pastebin.com/KcpPAKaa
4468
4469» :Description: - وصف الكود :
4470 يعطيك معلومات عن اي شخص تبيه بلعبة فورت
4471وطبعًا المشاكل المعروفة فيه زي الي م يمديك تبحث عن الناس الي في اساميهم مسافات محلولة
4472@.Ma ملاحظة: الكود انا سويته لكن في جزئية بسيطة في الكود اخذتها من
4473https://cdn.discordapp.com/attachments/557549047779557396/557551853479657472/HelloCodes_1.gif
4474» :Creator: - صانع الكود : @Azoqz
4475» :Spreader: - ناشر الكود : @Azoqz
4476
4477
4478Azoqz
447903/19/2019
4480ملاحظة
4481. ال الكود بيشتغل للناس الي مو اخر اسمهم
4482.او اول اسمهم
4483مو متأكد لو كان نص اسمك فيه نقطه بيشتغل او لا
4484جربت كم طريقة عشان اخلي الشي ذا يضبط للكل م لقيت حل فا ياه
4485
4486- Codes Bot
4487BOT
448803/20/2019
4489@everyone, - جميع الحقوق محفوظة لدى كودز
4490client.on("message", message => {
4491 let prefix = "#";
4492 if (!(message.author.bot) && message.channel.type == "text")
4493 if (message.content.startsWith(`${prefix}getScreenShareLink`))
4494 if (message.member.voiceChannel) message.channel.send(`https://discordapp.com/channels/${message.guild.id}/${message.member.voiceChannel.id}`);
4495 else message.channel.send(`**يجب عليك ان تكون في الروم الذي تريد جلب رابط مشاركة بالفيديو خاص به**`);
4496});
4497
4498» :Description: - وصف الكود :
4499 كود يجيبلك رابط الروم الي تبي تسويله سكرين شير بس لازم تكون فيه لما تكتم الامر
4500+ الكود ما فيه خطأ
4501الامر
4502#getScreenShareLink
4503» :Creator: - صانع الكود : @Omar??
4504» :Spreader: - ناشر الكود : @Omar??
4505
4506- Codes Bot
4507BOT
450803/23/2019
4509@everyone, - جميع الحقوق محفوظة لدى كودز
4510const { Client } = require('discord.js');
4511const client = new Client();
4512let emojiChars = {
4513 a: '??', b: '??', c: '??', d: '??',
4514 e: '??', f: '??', g: '??', h: '??',
4515 i: '??', j: '??', k: '??', l: '??',
4516 m: '??', n: '??', o: '??', p: '??',
4517 q: '??', r: '??', s: '??', t: '??',
4518 u: '??', v: '??', w: '??', x: '??',
4519 y: '??', z: '??', 0: '0?', 1: '1?',
4520 2: '2?', 3: '3?', 4: '4?', 5: '5?',
4521 6: '6?', 7: '7?', 8: '8?', 9: '9?',
4522 10: '??', '#': '#?', '*': '*?',
4523 '!': '?', '?': '?',
4524};
4525
4526client.on('message', msg => {
4527if (msg.author.bot) return;
4528let content = msg.content.split('').map(letter => emojiChars[letter]).join(' ');
4529return msg.channel.send(`${content ? content : 'Failed to emojify'}`);
4530})
4531
4532» :Description: - وصف الكود :
4533 تحويل الكلام الى ايموجي...
4534» :Creator: - صانع الكود : @Abady
4535» :Spreader: - ناشر الكود : @Abady
4536
4537Abady
453803/23/2019
4539:information_source: credits goes to: https://discordjs.guide/popular-topics/miscellaneous-examples.html#emoji-characters
4540Discord.js Guide
4541A guide made by the community of discord.js for its users.
4542
4543?
454403/23/2019
4545لو تبي تضيف ايموجي اكثر ، تقدر تضيفه بنفس الطريقة .
4546
4547- Codes Bot
4548BOT
454903/24/2019
4550@everyone, - جميع الحقوق محفوظة لدى كودز
4551https://pastebin.com/KkpfdAM6
4552
4553» :Description: - وصف الكود :
4554 كود هايبكسل مثل الأساسي تقريبًا
4555اذا في اي مشكلة بالكود الرجاء تتواصل معي فورًا
4556» :Creator: - صانع الكود : @Azoqz
4557» :Spreader: - ناشر الكود : @Azoqz
4558
4559- Codes Bot
4560BOT
456103/27/2019
4562@everyone, - جميع الحقوق محفوظة لدى كودز
4563const fs = require('fs')
4564let newsjson = JSON.parse(fs.readFileSync("./news.json", "utf8"))
4565client.on('message', message => {
4566 let news = message.content.split(" ").slice(1).join(" ")
4567 if(message.content.startsWith(prefix + 'setnews')) {
4568 if(!news) return message.channel.send(`? | Please Write The News For Example: ${prefix}setnews fix bugs`)
4569 newsjson[client.user.id] = {
4570 new: news,
4571 }
4572 message.channel.send(`? | Done The Bot News Has Been Updated !`)
4573 }
4574 if(message.content.startsWith( prefix + 'news')) {
4575 if(!newsjson[client.user.id]) newsjson[client.user.id] = {
4576 new: 'nothing'
4577 }
4578 let embed = new Discord.RichEmbed()
4579 .setTitle(`?? | ${client.user.username} Latest News :`)
4580 .setDescription(`${newsjson[client.user.id].new}`)
4581 .setTimestamp()
4582 .setFooter(`Requested By ${message.author.username}`)
4583 message.channel.sendEmbed(embed)
4584 }
4585 fs.writeFile("./news.json", JSON.stringify(newsjson), (err) => {
4586 })
4587})
4588
4589» :Description: - وصف الكود :
4590 كود setnews
4591يحتاج ملف news.json
4592وبكج fs
4593طريقه التثبيت : npm i fs
4594فكرة الكود : @! ?x | GaHeDGaMeR
4595» :Creator: - صانع الكود : @Deleted User
4596» :Spreader: - ناشر الكود : @Deleted User
4597
4598Deleted User
459903/27/2019
4600@here
4601طبعا اذا تبون الامر يشتغل بس لصاحب البوت يصير الكود كذا
4602https://pastebin.com/17dnQ6iG
4603Pastebin
4604const fs = require('fs') let newsjson = JSON.parse(fs.readFileSyn...
4605
4606
4607- Codes Bot
4608BOT
460904/02/2019
4610@everyone, - جميع الحقوق محفوظة لدى كودز
4611https://hasteb.in/pedoqava.js
4612
4613» :Description: - وصف الكود :
4614 أمرين, لإزالة وإنشاء الألوان بسهولة تامة.
4615» :Creator: - صانع الكود : @Deleted User
4616» :Spreader: - ناشر الكود : @Deleted User
4617
4618- Codes Bot
4619BOT
462004/02/2019
4621@everyone, - جميع الحقوق محفوظة لدى كودز
4622const cd = require("countdown")
4623 if (msg.content.toLowerCase() === `${prefix}ramadan`) {
4624 let hi = await message.channel.send(`Wait.`)
4625 setInterval(async function () {
4626 let thedate = new Date().getTime();
4627 let ramadan = new Date("May 6, 2019 00:00:00").getTime();
4628 var timespan = cd(thedate, ramadan);
4629 hi.edit(`Remaining days until ramadan comes\n${timespan}`)
4630 }, 1000);
4631 }
4632
4633» :Description: - وصف الكود :
4634 عد تنازلي لرمضان كل ثانية يسوي ايديت ويحط كم باقي لرمضان
4635يحتاج له بكج كاونت داون
4636npm i countdown
4637» :Creator: - صانع الكود : @Azoqz وشكرًأ ل @Deleted User خلاني الاقي البكج
4638» :Spreader: - ناشر الكود : @Azoqz
4639
4640! Dr.Asiri
464104/02/2019
4642client.on('message',async message => {
4643
4644لا تنسى تحط في أول الكود
4645
4646Azoqz
464704/02/2019
4648قل ولله
4649
4650- Codes Bot
4651BOT
465204/02/2019
4653@everyone, - جميع الحقوق محفوظة لدى كودز
4654const cd = require("countdown")
4655const voiceChannel = 'your voice id';
4656client.on("ready", () => {
4657 setInterval(function () {
4658 let thedate = new Date().getTime();
4659 let ramadan = new Date("May 6, 2019 00:00:00").getTime();
4660 var timespan = cd(thedate, ramadan);
4661 client.channels.get(voiceChannel).setName(`Reamaining days: [${timespan}]`)
4662 }, 10000);
4663 }
4664});
4665
4666» :Description: - وصف الكود :
4667 نفس الي فوق بس بروم صوتي
4668يتغير كل 10 ثواني ^^
4669» :Creator: - صانع الكود : Code: @Azoqz package: @Deleted User Edited: @. NouNou
4670» :Spreader: - ناشر الكود : @. NouNou
4671
4672. NouNou
467304/02/2019
4674ي عيال كلهم فيهم اخطاء الا الاول شيلو
4675}
4676@here
4677
4678
4679- Codes Bot
4680BOT
468104/03/2019
4682@everyone, - جميع الحقوق محفوظة لدى كودز
4683client.on('guildMemberAdd', member => {
4684 member.guild.channels.get('اي دي الروم').setName(Total Users: ${member.guild.memberCount})
4685 let humans = member.guild.members.filter(m => !m.user.bot).size;
4686 member.guild.channels.get('اي دي الروم').setName(Member Count: ${humans})
4687 let bots = member.guild.members.filter(m => m.user.bot).size;
4688 member.guild.channels.get(' اي دي الروم').setName(Bot Count ${bots})
4689 //الحقوق محفوظه لي ديمون
4690 });
4691
4692» :Description: - وصف الكود :
4693 كود عدد الاعضاء و عدد البوتات و عدد الي داخلين السيرفر
4694» :Creator: - صانع الكود : @# - ? ? M O N
4695» :Spreader: - ناشر الكود : @# - ? ? M O N
4696
4697# - ? ? M O N
469804/03/2019
4699يمديك تستعمله لهيروكو ولو يرستر البوت يبقى شغال
4700
4701- Codes Bot
4702BOT
470304/03/2019
4704@everyone, - جميع الحقوق محفوظة لدى كودز
4705https://hasteb.in/gipirece.js
4706
4707» :Description: - وصف الكود :
4708 أمر يـنقلك لـ روم الشخص المراد
4709» :Creator: - صانع الكود : @Deleted User
4710» :Spreader: - ناشر الكود : @Deleted User
4711
4712- Codes Bot
4713BOT
471404/04/2019
4715@everyone, - جميع الحقوق محفوظة لدى كودز
4716https://pastebin.com/zvB4jQk2
4717
4718» :Description: - وصف الكود :
4719 كود الحالات
4720» :Creator: - صانع الكود : لقيته بملف بوتي أتوقع خويي صنعه .
4721» :Spreader: - ناشر الكود : @! Dr.Asiri
4722
4723
4724
4725YouseF.js ' Dead
472604/24/2019
4727- تحط اسم السورة مش رقم السورة
4728
4729- Codes Bot
4730BOT
473104/25/2019
4732@everyone, - جميع الحقوق محفوظة لدى كودز
4733client.on("message", msg =>{
4734var args = msg.content.split(" ").slice(1).join(" ")
4735if(!args) return;
4736if(msg.content.startsWith(prefix+"setIcon")) {
4737msg.guild.setIcon(args)
4738 .then(msg.reply("**Done ? **"))
4739 .catch(console.error);
4740}else if(msg.content.startsWith(prefix+"setName")) {
4741 msg.guild.setName(args)
4742 .then(g => msg.reply(`**Updated guild name to ${g} :white_check_mark:**`))
4743 .catch(console.error);
4744}
4745});
4746
4747» :Description: - وصف الكود :
4748 [prefix]setName عشان تغير اسم السيرفر
4749[prefix]setIcon عشان تغير صورة السيرفر
4750» :Creator: - صانع الكود : @. NouNou
4751» :Spreader: - ناشر الكود : @. NouNou
4752
4753- Codes Bot
4754BOT
475504/26/2019
4756@everyone, - جميع الحقوق محفوظة لدى كودز
4757?client.on("message", message => {
4758if(message.content.startsWith(prefix + `contact`)){
4759if(message.author.bot || message.channel.type == 'dm') return;
4760let args = message.content.split(" ").slice(1);
4761let msg = args.join(' ');
4762let dev = client.users.get(""); //Your id
4763if(!args) return message.reply("يجب كتابة الرسالة");
4764dev.send(`• | User: **${message.author.tag}**\n\n• | Message: **${msg}**`).then(() =>{
4765message.channel.send(`Your message has been successfully delivered to the bot owner`)
4766}).catch(console.error);
4767}
4768});
4769
4770» :Description: - وصف الكود :
4771 كود ارسال رسالة لصاحب البوت
4772» :Creator: - صانع الكود : @- Julian .
4773» :Spreader: - ناشر الكود : @- Julian .
4774
4775- Codes Bot
4776BOT
477704/26/2019
4778@everyone, - جميع الحقوق محفوظة لدى كودز
4779https://pastebin.com/AnEwc2wv
4780
4781» :Description: - وصف الكود :
4782 كود صفحات القرآن مع التحكم بالري أكشن
4783طريقة الأمر :
4784#quran or #quran <PageNumber>
4785» :Creator: - صانع الكود : @! Abdul.
4786» :Spreader: - ناشر الكود : @! Abdul.
4787
4788- Codes Bot
4789BOT
479004/26/2019
4791@everyone, - جميع الحقوق محفوظة لدى كودز
4792client.on("message", message => {
4793if(message.content.startsWith(prefix + "setnick")){
4794if(message.author.bot || message.channel.type == "dm" || !message.member.hasPermission("MANAGE_NICKNAMES") || !message.guild.member(client.user).hasPermission("MANAGE_NICKNAMES")) return;
4795var user = message.mentions.members.first();
4796var args = message.content.split(" ").slice(2);
4797var nick = args.join(" ");
4798if(!user || !args) return message.channel.send(`**• | Usage:** ${prefix}setnick \`\`@Name\`\` nickname`);
4799message.guild.member(user.user).setNickname(`${nick}`);
4800message.channel.send(`Successfully changed **${user}** nickname to **${nick}**`);
4801}
4802});
4803
4804» :Description: - وصف الكود :
4805 كود تغيير nickname الشخص
4806» :Creator: - صانع الكود : @- Julian .
4807» :Spreader: - ناشر الكود : @- Julian .
4808
4809- Julian .
481004/26/2019
4811نشرته مرة ثانية
4812اخر مرة واسف عالازعاج
4813
4814- Codes Bot
4815BOT
481604/26/2019
4817@everyone, - جميع الحقوق محفوظة لدى كودز
4818client.on("message", message => {
4819if(message.content.startsWith(prefix + "vmute")) {
4820var mnt = message.mentions.members.first();
4821if(message.author.bot || message.channel.type == "dm" || !message.member.hasPermission("MUTE_MEMBERS") || !message.guild.member(client.user).hasPermission("MUTE_MEMBERS")) return;
4822if(!mnt) return message.channel.send(`**• | Usage:** ${prefix}vmute \`\`@Name\`\``);
4823if(!mnt.voiceChannel) return message.channel.send(`? | *${mnt.user.tag}* is not in a voice channel!`);
4824mnt.setMute(true).then(() => {
4825message.channel.send(`Successfully Muted ${mnt} :+1:`)
4826}).catch(console.error);
4827}
4828if(message.content.startsWith(prefix + "unvmute")) {
4829var mnt = message.mentions.members.first();
4830if(message.author.bot || message.channel.type == "dm" || !message.member.hasPermission("MUTE_MEMBERS") || !message.guild.member(client.user).hasPermission("MUTE_MEMBERS")) return;
4831if(!mnt) return message.channel.send(`**• | Usage:** ${prefix}unvmute \`\`@Name\`\``);
4832if(!mnt.voiceChannel) return message.channel.send(`? | *${mnt.user.tag}* is not in a voice channel!`);
4833mnt.setMute(false).then(() => {
4834message.channel.send(`Successfully Unmuted ${mnt} :+1:`)
4835}).catch(console.error);
4836}
4837});
4838
4839» :Description: - وصف الكود :
4840 كود Voice Mute
4841» :Creator: - صانع الكود : @- Julian .
4842» :Spreader: - ناشر الكود : @- Julian .
4843
4844- Julian .
484504/26/2019
4846-unvmute
4847
4848- Codes Bot .
4849BOT
485004/26/2019
4851• | Usage: -unvmute @Name
4852
4853- Codes Bot
4854BOT
485504/27/2019
4856@everyone, - جميع الحقوق محفوظة لدى كودز
4857https://pastebin.com/eiNifgsH
4858
4859» :Description: - وصف الكود :
4860 كود ميوت مطور مع تحديد الوقت ويمكنك تحديد الحد الأقصى للوقت
4861وكمان لو طلع من السيرفر ورجع يرجعله الميوت
4862لو في اي مشكلة كلمني على طول عشان اصلحها
4863- الكود سويته قبل ونشرته لكن هذا افضل عدلت فيه اشياء
4864» :Creator: - صانع الكود : @Azoqz
4865» :Spreader: - ناشر الكود : @Azoqz
4866
4867- Codes Bot
4868BOT
486904/29/2019
4870@everyone, - جميع الحقوق محفوظة لدى كودز
4871https://pastebin.com/MYpk1Dak
4872https://hastebin.com/bujejicage.js
4873
4874» :Description: - وصف الكود :
4875 credits probot
4876بس مافيه ضريبة التحويل و تاكيد التحويل
4877packages : sqlite , path , parse-ms
4878» :Creator: - صانع الكود : @. NouNou
4879» :Spreader: - ناشر الكود : @. NouNou
4880
4881- Codes Bot
4882BOT
488305/01/2019
4884@everyone, - جميع الحقوق محفوظة لدى كودز
4885const sID = "";
4886client.on("guildCreate", g => {
4887 if(!g.id === sID) {
4888 g.leave();
4889 }});
4890
4891» :Description: - وصف الكود :
4892 تنفيذ للاقتراح
4893https://cdn.discordapp.com/attachments/535134226765578241/573107755926159360/image0.png
4894» :Creator: - صانع الكود : @#iTzMurtaja
4895» :Spreader: - ناشر الكود : @#iTzMurtaja
4896
4897#iTzMurtaja
489805/01/2019
4899اي دي السيرفر يكون بين علامات التنصيص
4900const sID = "اي دي السيرفر";
4901
4902- Codes Bot
4903BOT
490405/01/2019
4905@everyone, - جميع الحقوق محفوظة لدى كودز
4906https://pastebin.com/sBNSCPCf
4907
4908» :Description: - وصف الكود :
4909 invited by + رابط
4910» :Creator: - صانع الكود : @. NouNou
4911» :Spreader: - ناشر الكود : @. NouNou
4912
4913. NouNou
491405/01/2019
4915packages: sqlite, path
4916https://pastebin.com/sBNSCPCf
4917Pastebin
4918[JavaScript] Joined By - Pastebin.com
4919
4920
4921- Codes Bot
4922BOT
492305/03/2019
4924@everyone, - جميع الحقوق محفوظة لدى كودز
4925https://pastebin.com/UTKNi90W
4926
4927» :Description: - وصف الكود :
4928 اكواد
4929Server & User
4930يطلع لك معلومات السيرفر
4931وكود يطلع لك معلومات الشخص
4932» :Creator: - صانع الكود : @- Julian .
4933» :Spreader: - ناشر الكود : @- Julian .
4934
4935- Codes Bot
4936BOT
493705/04/2019
4938@everyone, - جميع الحقوق محفوظة لدى كودز
4939client.on("message", msg=>{
4940if(!msg.content.startsWith(`${prefix}tax`)) return;
4941let tax = msg.content.split(" ")[1]
4942let Price = msg.content.split(" ")[2];
4943if(!tax || !Price) return msg.reply(`\`${prefix}tax 15% 100000\``).then(z=>z.delete(3000));
4944tax = tax.replace(/%/g,"");
4945let resulting = Math.floor(Price-(Price*(tax/100)));
4946if(!resulting || resulting < 0 || isNaN(resulting)) return msg.reply(`\`${prefix}tax 15% 100000\``).then(z=>z.delete(3000));
4947msg.reply(`resulting is ${resulting}$`)
4948})
4949
4950» :Description: - وصف الكود :
4951 كود حساب نسبة الضريبة مثآل
4952!tax 15% 1000000
4953اول فراغ نسبةة الضريبة ثاني فراغ المبلغ
4954» :Creator: - صانع الكود : @.Ma
4955» :Spreader: - ناشر الكود : @.Ma
4956
4957Azoqz
495805/04/2019
4959لحقين النسخ واللصق
4960تحت
4961client.on("message", msg=>{
4962حطو let prefix = "البريفكس حقكم"
4963
4964- Julian .
496505/04/2019
4966.-.
4967
4968- Codes Bot
4969BOT
497005/04/2019
4971@everyone, - جميع الحقوق محفوظة لدى كودز
4972https://pastebin.com/NyX0UJ0M
4973
4974» :Description: - وصف الكود :
4975 كود يجيبلك افتار اي شخص بالعالم عن طريق الاي دي :joy:
4976» :Creator: - صانع الكود : @- Julian .
4977» :Spreader: - ناشر الكود : @- Julian .
4978
4979- Julian .
498005/04/2019
4981حتى لو ما كان في سيرفرات مشتركة بين البوت والشخص
4982
4983- Codes Bot
4984BOT
498505/05/2019
4986@everyone, - جميع الحقوق محفوظة لدى كودز
4987https://pastebin.com/QXxQD4K2
4988
4989» :Description: - وصف الكود :
4990 idenity system | نظام هوية
4991» :Creator: - صانع الكود : @.Quiz ?
4992» :Spreader: - ناشر الكود : @.Quiz ?
4993
4994.Quiz ?
499505/05/2019
4996 :coffee: | Idenity card system;
4997Description; سكربت لنظام الهوية تقدر تسوي ريجستر وتحفظ بياناتك ومع نظام ستاف للقبول او الرفض . :Verefied:
4998Usage; ${prefix}idenity/register
4999
5000لا تنسى تسوي ملف وتسميه
5001config.json
5002وتحط فيه
5003{
5004 "prefix": "ur prefix",
5005 "token": "ur token",
5006 "apply": "apply room id;"
5007}
5008
5009 All copyrights reserved to @.Quiz ? :mega:
5010
5011- Codes Bot
5012BOT
501305/11/2019
5014@everyone, - جميع الحقوق محفوظة لدى كودز
5015let spaces = " "
5016client.on("message", msg => {
5017 if(msg.content.startsWith("-roles")) {
5018 const roles = []
5019 msg.guild.roles.forEach(c => {
5020 roles.push(c.name+spaces.substring(c.name.length)+c.members.size+" members");
5021 });
5022 msg.channel.send("\`\`\`"+roles.join("\n")+"\`\`\`");
5023 }
5024})
5025
5026» :Description: - وصف الكود :
5027 input:
5028prefix+roles
5029output:
5030server roles and member size
5031زي بروبوت بس مو مرتبين الرتب
5032» :Creator: - صانع الكود : @. NouNou
5033» :Spreader: - ناشر الكود : @. NouNou
5034
5035.Quiz ?
503605/11/2019
5037في شي اسمو
5038map خيي @. NouNou
5039
5040. NouNou
504105/11/2019
5042ادري يحلو @.Quiz ?
5043انا كان ودي اطوله
5044م يصير انشر كود سطرين
5045
5046- Codes Bot
5047BOT
504805/11/2019
5049@everyone, - جميع الحقوق محفوظة لدى كودز
5050```js
5051client.on("message", msg => {
5052 const rooms = []
5053 msg.guild.channels.forEach(c => {
5054 if(c.type !== "voice") return;
5055 rooms.push(c.name);
5056});
5057 let args = msg.content.split(" ").slice(1).join(" ")
5058 if(msg.content.startsWith(prefix+"moveme")){
5059 if(!msg.member.voiceChannel) return msg.channel.send("**:no_entry: You're not in voice channel! **");
5060 if(!args) return msg.channel.send("**:no_entry: Please be more specific**\`\`\`"+rooms.join("\n")+"\`\`\`");
5061 if(isNaN(args)){
5062 let channel = msg.guild.channels.find(ch => ch.name === args) || msg.mentions.members.first().voiceChannel;
5063 if(!channel) return msg.channel.send("**:no_entry: Please be more specific**\`\`\`"+rooms.join("\n")+"\`\`\`");
5064 msg.member.setVoiceChannel(channel).then(msg.channel.send("**:white_check_mark: "+msg.author.username+" moved to "+channel+"!**"))
5065 } else {
5066 let channel = msg.guild.channels.get(args) || msg.guild.members.get(args).voiceChannel
5067 msg.member.setVoiceChannel(channel).then(msg.channel.send("**:white_check_mark: "+msg.author.username+" moved to "+channel+"!**"));
5068
5069 }
5070 }
5071})
5072```
5073» :Description: - وصف الكود :
5074 #moveme - Moves you to a voice channel.
5075Usage:
5076
5077#moveme [channel name]
5078#moveme [mention]
5079#moveme [user id]
5080#moveme [channel id]
5081» :Creator: - صانع الكود : @. NouNou
5082» :Spreader: - ناشر الكود : @. NouNou
5083
5084. NouNou
508505/11/2019
5086لا تنسخو اول سطر بس
5087```js
5088
5089- Codes Bot
5090BOT
509105/11/2019
5092@everyone, - جميع الحقوق محفوظة لدى كودز
5093const fs = require("fs")
5094const say = JSON.parse(fs.readFileSync('./say.json', 'utf8'))
5095
5096client.on("message", message =>
5097 {
5098 if(!say[message.guild.id]) say[message.guild.id] = {
5099 say: 'say'
5100 }
5101 if(message.content.startsWith(prefix + "say" ) || message.content.startsWith(say[message.guild.id].say)) {
5102 var args = message.content.split(" ").slice(1).join(" ")
5103 message.channel.send(args)
5104 }});
5105client.on("message", message => {
5106if(message.content.startsWith(prefix + 'set-say')) {
5107 var args = message.content.split(" ").slice(1).join(" ")
5108 if(!message.member.hasPermission('MANAGE_GUILD')) return message.channel.send('**Sorry But You Dont Have Permission** `MANAGE_GUILD`' );
5109 if(!say[message.guild.id]) say[message.guild.id] = {
5110 say: 'say'
5111 }
5112 message.channel.send(`**SET THE SAY COMMAND TO ${args}**`), say[message.guild.id].say = args
5113 fs.writeFile("./say.json", JSON.stringify(say), (err) => {
5114 if (err) console.error(err)
5115 })
5116}
5117})
5118
5119» :Description: - وصف الكود :
5120 امر ساي مع تحديد الامر
5121-say
5122-set-say
5123
5124Example:-
5125-set-say echo
5126echo hi
5127» :Creator: - صانع الكود : @#iTzMurtaja
5128» :Spreader: - ناشر الكود : @#iTzMurtaja
5129
5130#iTzMurtaja
513105/11/2019
5132بعد ما تسوي الامر الجديد تقدر تستخدم الجديد او القديم الاثنين شغالين
5133Packages :-
5134fs
5135
5136- Codes Bot
5137BOT
513805/12/2019
5139@everyone, - جميع الحقوق محفوظة لدى كودز
5140client.on("message", msg => {
5141let men = msg.mentions.members.first()
5142if(!men || !men.voiceChannel) return;
5143if(msg.content === prefix+"vkick") {
5144men.setVoiceChannel(null)
5145}
5146});
5147
5148» :Description: - وصف الكود :
5149 Vkick but in new version
5150"discord.js":"^11.5.0"
5151» :Creator: - صانع الكود : @. NouNou
5152» :Spreader: - ناشر الكود : @. NouNou
5153
5154xRokz
515505/12/2019
5156@everyone الكود غير محمي بتاتاً من برمشنات او غيره فخذو حذركم
5157
5158- Julian .
515905/12/2019
5160._.
5161
5162. NouNou
516305/12/2019
5164if(!msg.member.roles.get(msg.guild.roles.find(r => r.name === "اسم الرتبة").id)) return;
5165
5166هذا يخلي الأمر بس الي عنده الرتبة
5167اذا تبيه حطه تحت سطر اول
5168
5169#iTzMurtaja
517005/12/2019
5171* if (msg.content.startsWith(prefix + "vkick")) {
5172
5173- Julian .
517405/12/2019
5175._.
5176
5177#iTzMurtaja
517805/12/2019
5179كيف يمنشن ؟
5180اذا محتوى الرسالة لازم يكون برفكس والامر فقط؟
5181
5182- Julian .
518305/12/2019
5184+ ليش
5185if(!men || !men.voiceChannel) return;
5186فوق
5187if(msg.content === prefix+"vkick") {
5188:GWjianWut:
5189
5190.Quiz ?
519105/12/2019
5192===
5193معناها لو يحتوي
5194==
5195معناها لو يعادل
5196@#iTzMurtaja بطاطس كوده صح
5197
5198- Codes Bot
5199BOT
520005/14/2019
5201@everyone, - جميع الحقوق محفوظة لدى كودز
5202https://pastebin.com/tahWEPF5
5203
5204» :Description: - وصف الكود :
5205 كود منع الجحفلة بالأوامر اللي الكل يدور علية , حقوق روكز
5206البكجات :
5207fs.
5208ملفات الجيسون :
5209antigreff.json
5210config.json
5211» :Creator: - صانع الكود : @xRokz
5212» :Spreader: - ناشر الكود : @Ship
5213
5214Ship
521505/14/2019
5216ملحوظة : دافع ع الكود نص مليون كريديت وبالأخير انزرف بس أصلآ عادي :joy:
5217
5218xRokz
521905/14/2019
5220@F L I N T ? رجعها عادي
5221
5222- Codes Bot
5223BOT
522405/23/2019
5225@everyone, - جميع الحقوق محفوظة لدى كودز
5226https://pastebin.com/2VjiP5Px
5227
5228» :Description: - وصف الكود :
5229 كود الحالات مع ملف json
5230*تحتاج ملف بأسم status.json
5231وتضع فيه
5232{"Bot ID":{"text":"text","type":"WATCHING"}}
5233Packages:-
5234fs
5235» :Creator: - صانع الكود : @#iTzMurtaja
5236» :Spreader: - ناشر الكود : @#iTzMurtaja
5237
5238#iTzMurtaja
523905/23/2019
5240https://pastebin.com/2VjiP5Px
5241Pastebin
5242[JavaScript] Status JSON - Pastebin.com
5243
5244
5245- Codes Bot
5246BOT
524705/23/2019
5248@everyone, - جميع الحقوق محفوظة لدى كودز
5249client.on("message", message => { //iTzMurtaja
5250 if(message.content.startsWith(prefix + "emoji")) { //iTzMurtaja
5251 if(message.author.bot) return; //iTzMurtaja
5252 var emojiid = message.content.split(" ").slice(1).join(" ") //iTzMurtaja
5253 console.log(emojiid) //iTzMurtaja
5254 if(emojiid.length < "18" || emojiid.length > "18" || isNaN(emojiid)) return message.channel.send(`- Usage
5255${prefix}emoji <EmojiID>`); //iTzMurtaja
5256 else //iTzMurtaja
5257 message.channel.send("This is the emoji that you requested:-",
5258 { //iTzMurtaja
5259 files: [`https://cdn.discordapp.com/emojis/${emojiid}.png`]
5260 }) //iTzMurtaja
5261 } //iTzMurtaja
5262}) //iTzMurtaja
5263
5264» :Description: - وصف الكود :
5265 كود يجيب اي ايموجي بالعالم عن طريق الاي دي حقه
5266» :Creator: - صانع الكود : @#iTzMurtaja
5267» :Spreader: - ناشر الكود : @#iTzMurtaja
5268
5269#iTzMurtaja
527005/23/2019
5271
5272
5273- Codes Bot
5274BOT
527505/26/2019
5276@everyone, - جميع الحقوق محفوظة لدى كودز
5277https://pastebin.com/PAQshzLG
5278
5279» :Description: - وصف الكود :
5280 كود طرد الشخص - Kick
5281» :Creator: - صانع الكود : @- Julian .
5282» :Spreader: - ناشر الكود : @- Julian .
5283
5284. NouNou
528505/30/2019
5286@everyone , - جميع الحقوق محفوظة لدى كودز
5287let room = "id room"
5288
5289client.on("guildMemberAdd", member => {
5290 let guild = client.channels.get(room).guild.id
5291
5292 if(member.guild.id != guild) return;
5293 client.channels.get(room).setName("Welcome "+member.user.username).then(m=> { setTimeout(() => {
5294 client.channels.get(room).setName(member.guild.name+" - "+member.guild.members.size)
5295 }, 3000)})
5296} )
5297
5298client.on("guildMemberRemove", member => {
5299 let guild = client.channels.get(room).guild.id
5300
5301 if(member.guild.id != guild) return;
5302 client.channels.get(room).setName("Member Left :(").then(m=> { setTimeout(() => {
5303 client.channels.get(room).setName(member.guild.name+" - "+member.guild.members.size)
5304 }, 3000)})
5305})
5306
5307client.on("voiceStateUpdate" , (oldMember, newMember) => {
5308 let guild = client.channels.get(room).guild.id
5309
5310 if(oldMember.guild.id != guild) return;
5311 let newUserChannel = newMember.voiceChannel
5312 let oldUserChannel = oldMember.voiceChannel
5313 if(oldUserChannel === undefined && newUserChannel !== undefined) {
5314 client.channels.get(room).setName("Hi, "+oldMember.user.username).then(m=> { setTimeout(() => {
5315 client.channels.get(room).setName(oldMember.guild.name+" - "+oldMember.guild.members.size)
5316 }, 3000)})
5317 } else if(newUserChannel === undefined){
5318 client.channels.get(room).setName("Bye, "+oldMember.user.username).then(m=> { setTimeout(() => {
5319 client.channels.get(room).setName(oldMember.guild.name+" - "+oldMember.guild.members.size)
5320 }, 3000)})
5321 }
5322} )
5323
5324» :Description: - وصف الكود :
5325اذا دخل شخص يرحب به في روم صوتي
5326بعد 3 ثواني يطلع عدد اعضاء
5327و اذا طلع يسوي نفس الشيء
5328و اذا دخل روم صوتي يرحب به
5329و بعد 3 ثواني يطلع عدد اعضاء
5330و اذا طلع من الروم يسوي نفس الشيء
5331» :Creator: - صانع الكود : @. NouNou
5332صاحب الفكرة @- Julian .
5333» :Spreader: - ناشر الكود : @. NouNou
5334اوميقاد الوصف طويل على الكود
5335
5336- Julian .
533705/30/2019
5338اللي يبي يشوفها موجودة بالسيرفر
5339
5340. NouNou
534105/30/2019
5342
5343
5344- Julian .
534505/30/2019
5346لحد يسأل عن ذا الروم
5347|•|??A_Kh?léèëd|•|#3988
5348ما نقدر نمسحه
5349
5350#iTzMurtaja
535105/31/2019
5352@everyone , - جميع الحقوق محفوظة لدى كودز
5353https://pastebin.com/SJwMp8HU
5354
5355» :Description: - وصف الكود :
5356كود يرسل برودكاست للأعضاء الاوفلاين فقط
5357من اقتراحاتكم :upside_down:
5358» :Creator: - صانع الكود : @#iTzMurtaja
5359» :Spreader: - ناشر الكود : @#iTzMurtaja
5360
5361- Codes Bot
5362BOT
536306/01/2019
5364@everyone, - جميع الحقوق محفوظة لدى كودز
5365https://pastebin.com/zfW7bYTH
5366
5367» :Description: - وصف الكود :
5368 كود باند - Ban ,_,
5369» :Creator: - صانع الكود : @- Julian .
5370» :Spreader: - ناشر الكود : @- Julian .
5371
5372- Codes Bot
5373BOT
537406/02/2019
5375@everyone, - جميع الحقوق محفوظة لدى كودز
5376hero.on('message', async message => {
5377 if(message.author.bot || message.channel.type === 'dm') return;
5378
5379 if(!message.content.startsWith(prefix)) return;
5380
5381 let messageArray = message.content.split(" ");
5382 let args = messageArray.slice(1);
5383 let cmd = messageArray[0].substring(prefix.length).toLowerCase();
5384
5385 if(cmd === 'mc') {
5386 if(!args[0]) return message.reply("please put the server ip");
5387
5388 fetch(`https://api.mcsrvstat.us/2/${args[0]}`)
5389 .then(res => res.json())
5390 .then(async res => {
5391
5392 let {version, players, online, ip, port, motd, mods, software, map} = res;
5393 let i = new RichEmbed();
5394
5395 if(online === false) {
5396 await i.addField(`Status`, `» **Offline**`);
5397 await i.setFooter(`The server is offline so i can't fetch the data.`);
5398 } else if(online === true) {
5399 await i.setAuthor(`${ip}:${port}`, message.author.avatarURL);
5400 await i.addField(`Status`, `» **Online**`);
5401 await i.addField(`Version`, `» **${res.version}**`);
5402 await i.addField(`Players`, `» **${players.online} / ${players.max}**`);
5403 if(mods) await i.addField(`Mods`, `» ${mods.names.join(", ")}`);
5404 if(software) await i.addField(`Software`, `» ${software}`);
5405 if(map) await i.addField(`Map`, `» ${map}`);
5406 await i.addField(`MOTD`, `» ${motd.clean.map(r => `**${r}**`).join('\n')}`);
5407 }
5408
5409 await message.channel.send(i);
5410 });
5411 }
5412});
5413
5414» :Description: - وصف الكود :
5415 كود معلومات السيرفر ( ماينكفرات ) ء
5416» :Creator: - صانع الكود : @YouseF.js ' Dead
5417» :Spreader: - ناشر الكود : @YouseF.js ' Dead
5418
5419- Codes Bot
5420BOT
542106/03/2019
5422@everyone, - جميع الحقوق محفوظة لدى كودز
5423https://pastebin.com/e8EVWFf7
5424
5425» :Description: - وصف الكود :
5426 كود watchdog
5427فائده الكود ان اذا في بشري
5428معه رتبه ميوت ومسوي نفسه كويس وطلع من السيرفر ودخل
5429علشان تروح الرتبه
5430يكتب في شات اللوق يلي انت حددته ان فلان حاول يشيل الرتبه الخ
5431بتفعيل والغاء تفعيل
5432
5433للتفعيل واختيار روم اللوق
5434<prefix>setwatchdog <log channel name>
5435طبعا اسم الروم بدون #
5436
5437لالغاء التفعيل
5438<prefix>watchdog off
5439
5440طبعا يحتاج بكج fs
5441ويحتاج تسوي ملف watchdog.json
5442و ملف watchdogonoff.json
5443وتحط داخلهم {}
5444طبعا الملف الاول يسجل فيه الشخص يلي طلع ومعه رتبه الميوت
5445وكذا
5446والثاني لتفعيل والغاء التفعيل واسم الروم
5447» :Creator: - صانع الكود : @Deleted User
5448الفكره من بوت Kitso (Abady)
5449» :Spreader: - ناشر الكود : @Deleted User
5450
5451- Codes Bot
5452BOT
545306/04/2019
5454@everyone, - جميع الحقوق محفوظة لدى كودز
5455if(!hero) {
5456let hero = client;
5457}
5458
5459hero.on('message',async message => {
5460 if(message.author.bot || message.channel.type === 'dm') return;
5461 if(!message.content.startsWith(prefix)) return;
5462 let cmd = message.content.split(" ")[0].substring(prefix.length);
5463 let args = message.content.split(" ");
5464
5465if(cmd === 'c') {
5466 var captcha = await require('simple-captcha').create({width: 108, height: 40});
5467 await captcha.generate();
5468 await fs.writeFileSync('./test/captcha.png', captcha.buffer('image/png'));
5469 let x = captcha.text();
5470 await message.channel.send(`**- Get the code!**`, {
5471 files: [fs.readFileSync('./test/captcha.png')]
5472 });
5473 let i = await message.channel.awaitMessages(r => r.author.id === message.author.id, {
5474 max: 1,
5475 time: 20000,
5476 errors: ['time']
5477 });
5478
5479 let {content} = i.first();
5480
5481 if(content.toString() !== x.toString()) return message.reply(`Sorry the captcha wasn't entered correctly, \`${x}\` was the correct.`);
5482 else message.reply(`Yay! Correct!!`);
5483 }
5484});
5485
5486» :Description: - وصف الكود :
5487 كود كابتشا بالصورة ابسط من التاني .
5488» :Creator: - صانع الكود : @YouseF.js ' Dead
5489» :Spreader: - ناشر الكود : @YouseF.js ' Dead
5490
5491YouseF.js ' Dead
549206/04/2019
5493نسيت احط البكج ,
5494npm i simple-captcha
5495
5496
5497- Codes Bot
5498BOT
549906/06/2019
5500@everyone, - جميع الحقوق محفوظة لدى كودز
5501https://hastebin.com/ayedabivob.js
5502
5503» :Description: - وصف الكود :
5504 كود تصويت او تصويت بعد خدمة العميل
5505الأقتراح:
5506https://discordapp.com/channels/530859416019533834/574171539671482369/575657483545083904
5507كود تسليكي نوعاً ما
5508» :Creator: - صانع الكود : @Azoqz
5509» :Spreader: - ناشر الكود : @Azoqz
5510
5511Azoqz
551206/06/2019
5513client.channels.get("577679776643285004").send(voted)
5514السطر ذا بدلو الأي دي حق الشانل ذا للأيدي الي تبون التصويت يجي فيه
5515
5516- Codes Bot
5517BOT
551806/07/2019
5519@everyoe, - جميع الحقوق محفوظة لدى كودز
5520» :Creator: - Ownership checker - تحقق من اونر شيب
5521//All copyrights return to Codes - MohamedTarek
5522client.on("message", msg => {
5523 if (msg == ${prefix}check) {
5524 let guild = client.guilds.find(g => g.ownerID == msg.author.id)//MohamedTarek
5525 if(!guild) return msg.channel.send("? No guilds for you, Try again.")//MohamedTarek
5526 msg.channel.send("?? Congratulations, you get a role.")//MohamedTarek
5527 client.guilds.get("SupportServerID").member(msg.author.id).addRole(client.guilds.get("SupportServerID").roles.get("GuestRoleID"));
5528 }
5529});//MohamedTarek
5530
5531» :Description: - وصف الكود :
5532 كود يتحقق اذا الشخص عنده سيرفر فيه البوت ويعطيه رول
5533» :Creator: - صانع الكود : @xRokz , @.MohamedTarek
5534» :Spreader: - ناشر الكود : @.MohamedTarek
5535
5536- Codes Bot
5537BOT
553806/07/2019
5539@everyone, - جميع الحقوق محفوظة لدى كودز
5540» :Creator: - Server info
5541https://pastebin.com/uk3LggiP
5542
5543» :Description: - وصف الكود :
5544 كود معلومات السيرفر ، لكن مع اللي داخلين وخارجين من السيرفر فالعادي
5545اللي داخلين وخارجين هذا الاسبوع .. ماخذ كم تعريف من عزوكز
5546» :Creator: - صانع الكود : نصه @Azoqz
5547ونصة @Ship
5548» :Spreader: - ناشر الكود : @Ship
5549
5550- Codes Bot
5551BOT
555206/07/2019
5553@everyone, - جميع الحقوق محفوظة لدى كودز
5554» :Creator: - كود يرسل في اللوق لما تضيف رياكشن
5555client.on('messageReactionAdd', (reaction) => {
5556 const embed = new Discord.RichEmbed()
5557 .setTitle(`New Reaction`)
5558 .setDescription(`**Reaction Message:-** ${reaction.message.content} \n **Reaction Emoji:-** ${reaction.emoji} \n **Reaction Message ID:-** ${reaction.message.id} \n **Reaction Message Channel:-** ${reaction.message.channel.name} \n **Reactions Count:-** ${reaction.count}`)
5559 client.channels.get('CHANNEL ID').send({embed : embed}).catch(e => console.log(e))
5560})
5561
5562» :Description: - وصف الكود :
5563 كود يرسل في اللوق لما تضيف رياكشن
5564» :Creator: - صانع الكود : @#iTzMurtaja
5565» :Spreader: - ناشر الكود : @#iTzMurtaja
5566@everyone, - جميع الحقوق محفوظة لدى كودز
5567» :Creator: - كود يرسل في اللوق لما تشيل رياكشن
5568client.on('messageReactionRemove', (reaction) => {
5569 const embed = new Discord.RichEmbed()
5570 .setTitle(`Reaction Removed`)
5571 .setDescription(`**Reaction Message:-** ${reaction.message.content} \n **Reaction Emoji:-** ${reaction.emoji} \n **Reaction Message ID:-** ${reaction.message.id} \n **Reaction Message Channel:-** ${reaction.message.channel.name} \n **Reactions Count:-** ${reaction.count}`)
5572 client.channels.get('CHANNEL ID').send({embed : embed}).catch(e => console.log(e))
5573})
5574
5575» :Description: - وصف الكود :
5576 كود يرسل في اللوق لما تشيل رياكشن
5577» :Creator: - صانع الكود : @#iTzMurtaja
5578» :Spreader: - ناشر الكود : @#iTzMurtaja
5579
5580Im Using PyCharm
558106/07/2019
5582لا تنسي تغير
5583580684786021040128
5584لي ID
5585الشانل بتاعت اللوجز
5586
5587- Codes Bot
5588BOT
558906/10/2019
5590@everyone, - جميع الحقوق محفوظة لدى كودز
5591» :Creator: - djs docs
5592client.on('message' , message => {
5593if(message.content.startsWith(prefix + 'djs')) {
5594/*
5595 * Creating a D.JS docs command
5596 * Example by Monkey#8028
5597 */
5598
5599// Make sure you require node-fetch, because we will have to make an API request
5600const fetch = require('node-fetch');
5601// Define what the search query is, most likely, that would be args.join(' ')
5602const query = message.content.split(" ").slice(1)
5603// You can construct a url from that, using this REST API
5604const url = `https://djsdocs.sorta.moe/main/stable/embed?q=${encodeURIComponent(query)}`;
5605// We need to fetch that url
5606fetch(url)
5607 // Get the JSON response
5608 .then(res => res.json())
5609 .then(embed => {
5610 // The request was make successfull, now let's see if there was a result found
5611 if(embed && !embed.error) {
5612 // Yes there was, let's send it!
5613 message.channel.send({ embed });
5614 } else {
5615 // Nope, no results found, let's let the user know
5616 message.reply(`I don't know mate, but "${query}" doesn't make any sense!`);
5617 }
5618 })
5619 .catch(e => {
5620 // Whoops, some error occured, let's log it and notify the user
5621 console.error(e);
5622 message.reply('Darn it! I failed!');
5623 })
5624}
5625})
5626
5627» :Description: - وصف الكود :
5628 كود discord.js docs
5629يعني تكتب كذا
5630<prefix>djs message
5631مثلا وبيطلع لك المعلومات نفسها يلي في discord.js.org
5632يعني بالمختصر المفيد نفس Kitso
5633» :Creator: - صانع الكود : Monkey#8028
5634» :Spreader: - ناشر الكود : @Deleted User
5635
5636Deleted User
563706/10/2019
5638ملحوظه يحتاج بكج node-fetch
5639
5640- Codes Bot
5641BOT
564206/12/2019
5643@everyone, - جميع الحقوق محفوظة لدى كودز
5644» :Creator: - كود يحطلك احصائيات حسابك في رومات صوتية
5645https://pastebin.com/GH8662GS
5646
5647» :Description: - وصف الكود :
5648 كود يحطلك احصائيات حسابك في رومات صوتية
5649Packages:-
5650- yt-scraper
5651- twitter-scrape-account-stats
5652-basic-instagram-user-details
5653https://cdn.discordapp.com/attachments/531392825074647040/588050683442495498/SPOILER_unknown.png
5654» :Creator: - صانع الكود : @#iTzMurtaja
5655» :Spreader: - ناشر الكود : @#iTzMurtaja
5656
5657
5658- Codes Bot
5659BOT
566006/12/2019
5661@everyone, - جميع الحقوق محفوظة لدى كودز
5662» :Creator: - Eris Example Code
5663var bot = new Eris("BOT_TOKEN");
5664bot.on("ready", () => {
5665 console.log("Ready!");
5666});
5667bot.on("messageCreate", (msg) => {
5668 if(msg.content === "!ping") {
5669 bot.createMessage(msg.channel.id, "Pong!");
5670 }
5671});
5672bot.connect();
5673
5674» :Description: - وصف الكود :
5675 السورس الاساسي حق مكتبة ايرس - Eris
5676» :Creator: - صانع الكود : https://abal.moe/Eris/
5677» :Spreader: - ناشر الكود : @- Julian .
5678Eris 0.10.0
5679Eris, a NodeJS Discord library
5680
5681- Julian .
568206/12/2019
5683لا تنسى
5684var Eris = require('eris');
5685ببداية الكود
5686
5687xRokz
568806/12/2019
5689و
5690npm install --no-optional eris
5691
5692CodesSystem
5693BOT
569406/12/2019
5695@everyone, - جميع الحقوق محفوظة لدى كودز
5696» :Creator: - Avatar Code (Eris)
5697https://pastebin.com/upCvHUBJ
5698
5699» :Description: - وصف الكود :
5700 كود افتار مطور - Eris
5701avatar
5702avatar @mention
5703avatar username
5704avatar tag
5705avatar id
5706avatar server
5707ولو تحط
5708-url
5709بالاخر يرسلك رابط الافتار مثلا
5710avatar server -url
5711» :Creator: - صانع الكود : @- Julian .
5712» :Spreader: - ناشر الكود : @- Julian .
5713
5714- Julian .
571506/12/2019
5716اول كود ايرس اسويه ,_,
5717
5718CodesSystem
5719BOT
572006/17/2019
5721@everyone, - جميع الحقوق محفوظة لدى كودز
5722» :Creator: - Mentioned bot invite link - رابط دعوة اي بوت بمنشن
5723https://pastebin.com/mQFPiksv
5724
5725» :Description: - وصف الكود :
5726 كود يجيبلك رابط دعوة اي بوت بمنشن
5727» :Creator: - صانع الكود : @#iTzMurtaja
5728» :Spreader: - ناشر الكود : @#iTzMurtaja
5729
5730CodesSystem
5731BOT
573206/30/2019
5733@everyone, - جميع الحقوق محفوظة لدى كودز
5734» :Creator: - كود الة حاسبة بسيط
5735//when a message is sent 'message' event is emitted and we get the message object defined as 'message'
5736hero.on('message',async message => {
5737// checks if its in dms or the author is a bot it will return nothing
5738 if(message.channel.type === 'dm' || message.author.bot) return;
5739 // splits the message content
5740 let mArray = message.content.split(" ");
5741 // checks if the message starts with the prefix if not it will return false
5742 let cmd = mArray[0].startsWith('$') ? mArray[0].substring("$".length) : false;
5743 // we get the array of the message content that we split above and get all the elements that aren't the command
5744 let args = mArray.slice(1);
5745 // if the cmd is false it will return nothing
5746 if(!cmd) return;
5747 // we get the message as 1 item in an array but without the command
5748 let exp = message.content.split(cmd);
5749 // if the command is "c"
5750 if(cmd === 'c') {
5751 // if there isn't an expression to calculate it will return nothing
5752 if(!args[0]) return;
5753 // the regex of a simple expresssion like 1+1
5754 let RegEx = /([0-9]{1,5}) ?[*,x,+,\-,/] ?([0-9]{1,5})/g;
5755 // it gets an array of the expressions in the message
5756 let expr = await RegEx.exec(exp[1]);
5757 // if there isn't it will return false so if its false we send a message
5758 if(expr === null || !expr) return message.channel.send(`oh uh, You forgot the expression`);
5759 // so we eval the expression because its a string so we eval it and replace the x as * so we get a correct expression
5760 let result = eval(expr[0].replace(/x/g, '*'));
5761 // finally we send the result in the chat
5762 message.channel.send(result);
5763
5764 }
5765});
5766
5767» :Description: - وصف الكود :
5768 كود الة حاسبة بسيط
5769» :Creator: - صانع الكود : @YouseF.js ' Dead
5770» :Spreader: - ناشر الكود : @YouseF.js ' Dead
5771
5772CodesSystem
5773BOT
577407/05/2019
5775@everyone, - جميع الحقوق محفوظة لدى كودز
5776» :Creator: - مشاركة تلقائية بالقيف اواي
5777client.on("message", message => { //iTzMurtaja#8951
5778 if(message.content.toLowerCase().includes("giveaway")) { //iTzMurtaja#8951
5779 if(message.author.id == "294882584201003009" || message.author.id == "553212598368337921") { //iTzMurtaja#8951
5780 message.react("??") //iTzMurtaja#8951
5781 } //iTzMurtaja#8951
5782 } //iTzMurtaja#8951
5783}) //iTzMurtaja#8951
5784
5785» :Description: - وصف الكود :
5786 كود يشارك تلقائي في القيف اوايات
5787» :Creator: - صانع الكود : @#iTzMurtaja
5788» :Spreader: - ناشر الكود : @#iTzMurtaja
5789
5790#iTzMurtaja
579107/05/2019
5792@here , تم التعديل
5793
5794CodesSystem
5795BOT
579607/08/2019
5797@everyoe, - جميع الحقوق محفوظة لدى كودز
5798» :Creator: - كود يوريك مين الي دخل البوت و العكس
5799client.on('guildCreate', guild => {
5800 const embed = new Discord.RichEmbed()///Codes
5801 .setColor("GREEN")
5802 .setTitle(`** Server Added اسم بوتك.**`)
5803 .setDescription(`**
5804 __Server Name__ ? ${guild.name}
5805 __Server Owner__ ? ${guild.owner}
5806 __Server ID__ ? ${guild.id}
5807 __Mebmers Count__ ? ${guild.memberCount}
5808 __Server Count__ ? ${client.guilds.size}**`);
5809client.channels.get("ايدي الروم الي تبيه يقولك الي دخل البوت").sendEmbed(embed)
5810});
5811client.on('guildDelete', guild => {
5812 const embed = new Discord.RichEmbed()
5813 .setColor("RED")
5814 .setTitle(` Server Kicked اسم بوتك.`)
5815 .setDescription(`**
5816 __Server Name__ ? ${guild.name}
5817 __Server Owner__ ? ${guild.owner}
5818 __Server ID__ ? ${guild.id}
5819 __Mebmers Count__ ? ${guild.memberCount}
5820 __Server Count__ ? ${client.guilds.size}**`);
5821client.channels.get("ايدي الروم الي تبيه يقولك الي طرد البوت").sendEmbed(embed)
5822});///Zine , Pixel
5823
5824» :Description: - وصف الكود :
5825 كود يوريك مين الي دخل البوت و العكس
5826» :Creator: - صانع الكود : Pixel Team
5827» :Spreader: - ناشر الكود : @<h2 class="Zine..">
5828
5829YouseF.js ' Dead
583007/08/2019
5831@everyone
5832
5833CodesSystem
5834BOT
583507/08/2019
5836@everyone, - جميع الحقوق محفوظة لدى كودز
5837» :Creator: - كود مسح الرسائل بالعدد الي تبيه ..
5838client.on('message', message => {
5839 if (message.author.bot) return; ///Pixel Team
5840 if (message.content.startsWith(prefix + 'clear')) {
5841 if(!message.channel.guild) return message.reply(`** This Command For Servers Only**`);
5842 if(!message.member.hasPermission('MANAGE_GUILD')) return message.channel.send(`** You don't have Premissions!**`);
5843 if(!message.guild.member(client.user).hasPermission('MANAGE_GUILD')) return message.channel.send(`**I don't have Permission!**`);
5844 let args = message.content.split(" ").slice(1)
5845 let messagecount = parseInt(args);
5846 if (args > 100) return message.reply(`** The number can't be more than **100** .**`).then(messages => messages.delete(5000))
5847 if(!messagecount) args = '100';
5848 message.channel.fetchMessages({limit: messagecount}).then(messages => message.channel.bulkDelete(messages)).then(msgs => {
5849 message.channel.send(`** Done , Deleted \`${msgs.size}\` messages.**`).then(messages => messages.delete(5000));
5850 })
5851 }
5852}); ///Zine & Zaid
5853
5854» :Description: - وصف الكود :
5855 كود مسح الرسائل قد ما تبي , مافيه ولا قلتش
5856» :Creator: - صانع الكود : @<h2 class="Zine.."> , @Gn ,Za1D.
5857» :Spreader: - ناشر الكود : @<h2 class="Zine..">
5858
5859<h2 class="Zine..">
586007/08/2019
5861يمسح حتى 100 رسالة
5862
5863- Julian .
586407/08/2019
5865الكود كان موجود في كودز القديم بس ذا معدل
5866
5867CodesSystem
5868BOT
586907/08/2019
5870@everyone, - جميع الحقوق محفوظة لدى كودز
5871» :Creator: - Banner code - كود يجيب لك بنر السيرفر
5872client.on("message", message => {
5873 if(message.content.startsWith(prefix + "banner")) {
5874 if(message.guild.bannerURL === null || message.guild.bannerURL === undefined) return message.channel.send("**? | This server doesn\'t have a banner.**");
5875 const ba = new Discord.RichEmbed()
5876 .setAuthor(message.guild.name, message.guild.iconURL)
5877 .setDescription(`[Banner URL](${message.guild.bannerURL}?size=2048)`)
5878 .setImage(message.guild.bannerURL + "?size=2048")
5879 message.channel.send({embed : ba})
5880 }
5881});
5882
5883» :Description: - وصف الكود :
5884 كود يجيب لك بنر السيرفر
5885ضروري يكون نفس اصدار البكج
5886 Packages:-
5887"discord.js": "discordjs/discord.js#11.5-dev"
5888» :Creator: - صانع الكود : @#iTzMurtaja
5889» :Spreader: - ناشر الكود : @#iTzMurtaja
5890
5891! PanDa.?
589207/09/2019
5893@- Julian . معدله بس فيه ثغرات
5894
5895CodesSystem
5896BOT
589707/09/2019
5898@everyoe, - جميع الحقوق محفوظة لدى كودز
5899» :Creator: - Votemute
5900https://pastebin.com/qyWAxN3Q
5901
5902» :Description: - وصف الكود :
5903 الكود عبارة عن تصويت بالميوت بس لي عندهم رتبة تصوييت لي هي
5904vote
5905يقدرون يصوتون تقدر تغيرها من الكود وترا البوت مايسوي رتبة تصويت
5906انت سويها يسوي بس ميوت
5907» :Creator: - صانع الكود : Abdellhadi
5908» :Spreader: - ناشر الكود : @.Dez
5909
5910CodesSystem
5911BOT
591207/09/2019
5913@everyone, - جميع الحقوق محفوظة لدى كودز
5914» :Creator: - colores
5915https://pastebin.com/0U631LXt
5916
5917» :Description: - وصف الكود :
5918 كود يسويلك الالوان بشكل منظم ومع التدرج اللوني
5919 المهم مو الوان عشوائية وخلص
5920» :Creator: - صانع الكود : @.Dez
5921» :Spreader: - ناشر الكود : @.Dez
5922
5923CodesSystem
5924BOT
592507/09/2019
5926@everyoe, - جميع الحقوق محفوظة لدى كودز
5927» :Creator: - gif search
5928const gif = require("gif-search")
5929client.on('message', message => {
5930 var prefix = "!";
5931 if(message.content.startsWith(prefix + 'gif')) {
5932console.log('[Gif Search] Developed By Abdellhadi')
5933 if(message.channel.type === 'dm') return message.channel.send('الامر فقط للسيرفرات ')
5934 let args = message.content.split(' ').slice(1).join(' ')
5935 if (!args) return message.reply('اكتب اسم الصورة ')
5936 gif.query(args).then(gifUrl => {
5937 message.channel.send({
5938 files: [{
5939 attachment: gifUrl,
5940 name: "search.gif"
5941 }]
5942 });
5943 });
5944}
5945});
5946
5947» :Description: - وصف الكود :
5948 كود بسيط يبحث عن قيف اكتب الامر وبعدها اسم القيف تجيك القيف
5949 الكود يحتاج بس بكج
5950 npm install gif-search
5951» :Creator: - صانع الكود : @.Dez
5952» :Spreader: - ناشر الكود : @.Dez
5953
5954CodesSystem
5955BOT
595607/09/2019
5957@everyone, - جميع الحقوق محفوظة لدى كودز
5958» :Creator: - BOT status
5959client.on('message', message => {
5960 var api = `${Math.round(client.ping)}`
5961 if (message.content.startsWith("!status")) {
5962 message.channel.send({
5963 embed: new Discord.RichEmbed()
5964 .setColor('RED')
5965 .addField('**RAM ??**', `${(process.memoryUsage().rss / 1000000).toFixed()}MB`, true)
5966 .addField('**PING??**' , `${Date.now() - message.createdTimestamp}` + ' ms')
5967 .addField('**WebSocket:**',api + " ms ?? ")
5968 .addField('**Runtime?**', `${Math.round(client.ping)}` + 'ms')
5969 .addField('**CPU??**', `${(process.cpuUsage().rss / 10000).toFixed()}%`, true)
5970 })
5971 }
5972 });
5973 function timeCon(time) {
5974 let days = Math.floor(time % 31536000 / 86400)
5975 let hours = Math.floor(time % 31536000 % 86400 / 3600)
5976 let minutes = Math.floor(time % 31536000 % 86400 % 3600 / 60)
5977 let seconds = Math.round(time % 31536000 % 86400 % 3600 % 60)
5978 days = days > 9 ? days : '0' + days
5979 hours = hours > 9 ? hours : '0' + hours
5980 minutes = minutes > 9 ? minutes : '0' + minutes
5981 seconds = seconds > 9 ? seconds : '0' + seconds
5982 return `${days > 0 ? `${days}:` : ''}${(hours || days) > 0 ? `${hours}:` : ''}${minutes}:${seconds}`
5983};
5984
5985» :Description: - وصف الكود :
5986 بوت يوريلك حالة البوت يعني الرام المستخدم والمعالج وسرعة البوت ووقت بداية تشغيل البوت
5987» :Creator: - صانع الكود : حقوق بوت GHost bot
5988 القديم
5989» :Spreader: - ناشر الكود : @.Dez
5990
5991.Dez
599207/09/2019
5993 عدلته شوي
5994 خليته انجليزي طلع احلى
5995 وضفت عليه WebSocket ms
5996
5997
5998
5999
6000@everyone, - جميع الحقوق محفوظة لدى كودز
6001» :Creator: - date and time and voice online
6002https://pastebin.com/iCL5V6ba
6003
6004» :Description: - وصف الكود :
6005 كود يسويلك 3 رومات صوتية
6006 روم للوقت وروم للتاريخ وروم للفويز اونلاين
6007» :Creator: - صانع الكود : حقوق بوت قوست القديم
6008كودز القديم
6009 وشوية تعديلات من عندي
6010» :Spreader: - ناشر الكود : @.Dez
6011
6012<h2 class="Zine..">
601307/10/2019
6014^^ حقوق الفا كودز القديم
6015
6016CodesSystem
6017BOT
601807/10/2019
6019@everyone, - جميع الحقوق محفوظة لدى كودز
6020» :Creator: - مانع السب مطور
6021https://pastebin.com/uA4zeuWn
6022
6023» :Description: - وصف الكود :
6024 مانع السب
6025 + تقدر تضيف وتمسح سبات بالامر
6026 يحتاج بكج fs
6027 npm install fs
6028+
6029 تسوي ملف تسميه
6030 swears.json
6031
6032وتحط فيه ذي
6033[ ]
6034» :Creator: - صانع الكود : حقوق سيرفر الفا كودز
6035» :Spreader: - ناشر الكود : @.Dez
6036
6037CodesSystem
6038BOT
603907/10/2019
6040@everyone, - جميع الحقوق محفوظة لدى كودز
6041» :Creator: - كود برودكاست اونلاين و اوفلاين مطور
6042const Discord = require('discord.js');
6043const client = new Discord.Client();
6044
6045
6046//bc
6047
6048client.on("message", message => {
6049 if (message.content.startsWith("$obc")) {
6050 if (!message.member.hasPermission("ADMINISTRATOR")) return;
6051 let args = message.content.split(" ").slice(1);
6052 var argresult = args.join(' ');
6053 message.guild.members.filter(m => m.presence.status !== 'all').forEach(m => {
6054 m.send(`${argresult}\n ${m}`);
6055 })
6056 message.channel.send(`\`${message.guild.members.filter( m => m.presence.status !== 'all').size}\`:mailbox: عدد المستلمين `);
6057 message.delete();
6058 };
6059 });
6060
6061
6062//bc online
6063
6064
6065 var prefix = "$";
6066
6067 client.on("message", message => {
6068
6069 if (message.content.startsWith(prefix + "bc")) {
6070 if (!message.member.hasPermission("ADMINISTRATOR")) return;
6071 let args = message.content.split(" ").slice(1);
6072 var argresult = args.join(' ');
6073 message.guild.members.filter(m => m.presence.status !== 'offline').forEach(m => {
6074 m.send(`${argresult}\n ${m}`);
6075 })
6076 message.channel.send(`\`${message.guild.members.filter(m => m.presence.status !== 'online').size}\` :mailbox: عدد المستلمين `);
6077 message.delete();
6078 };
6079 });
6080
6081» :Description: - وصف الكود :
6082 كود برودكاست اونلاين و اوفلاين
6083» :Creator: - صانع الكود : مجهول
6084» :Spreader: - ناشر الكود : @<h2 class="Zine..">
6085
6086<h2 class="Zine..">
608707/10/2019
6088الي يعرف من مسوي الكود يقولي خاص :).
6089
6090CodesSystem
6091BOT
609207/10/2019
6093@everyone, - جميع الحقوق محفوظة لدى كودز
6094» :Creator: - كود سحب الاعضاء مطور
6095client.on('message', message => {
6096 var prefix = "برفكس حقك";
6097if(!message.channel.guild) return;
6098if(message.content.startsWith(prefix + 'move')) {
6099 if (message.member.hasPermission("MOVE_MEMBERS")) {
6100 if (message.mentions.users.size === 0) {
6101 return message.channel.send("``لاستخدام الأمر اكتب هذه الأمر : " +prefix+ "move [USER]``")
6102}
6103if (message.member.voiceChannel != null) {
6104 if (message.mentions.members.first().voiceChannel != null) {
6105 var authorchannel = message.member.voiceChannelID;
6106 var usermentioned = message.mentions.members.first().id;
6107var embed = new Discord.RichEmbed()
6108 .setTitle("Succes!")
6109 .setColor("#000000")
6110 .setDescription(`لقد قمت بسحب <@${usermentioned}> الى الروم الصوتي الخاص بك? `)
6111var embed = new Discord.RichEmbed()
6112.setTitle(`You are Moved in ${message.guild.name}`)
6113 .setColor("RANDOM")
6114.setDescription(`**<@${message.author.id}> Moved You To His Channel!\nServer --> ${message.guild.name}**`)
6115 message.guild.members.get(usermentioned).setVoiceChannel(authorchannel).then(m => message.channel.send(embed))
6116message.guild.members.get(usermentioned).send(embed)
6117} else {
6118message.channel.send("``لا تستطيع سحب "+ message.mentions.members.first() +" `يجب ان يكون هذه العضو في روم صوتي`")
6119}
6120} else {
6121 message.channel.send("**``يجب ان تكون في روم صوتي لكي تقوم بسحب العضو أليك``**")
6122}
6123} else {
6124message.react("?")
6125 }}});
6126
6127» :Description: - وصف الكود :
6128 كود سحب الاعضاء
6129» :Creator: - صانع الكود : زين , فريق بكسل
6130» :Spreader: - ناشر الكود : @<h2 class="Zine..">
6131
6132<h2 class="Zine..">
613307/10/2019
6134اي مشكلة ؟
6135Dm Me :).
6136
6137CodesSystem
6138BOT
613907/10/2019
6140@everyone, - جميع الحقوق محفوظة لدى كودز
6141» :Creator: - تغيير صورة السيرفر والاسم
6142client.on("message", msg =>{
6143 var prefix = '#'
6144 if(!msg.guild.member(msg.author).hasPermissions('ADMINISTRATOR')) return msg.reply('? **يجب ان تكون لديك صلاحيات كافية**');
6145if(!msg.guild.member(client.user).hasPermissions(['ADMINISTRATOR'])) return msg.reply('? **البوت لا يمتلك صلاحية**');
6146var args = msg.content.split(" ").slice(1).join(" ")
6147if(!args) return;
6148if(msg.content.startsWith(prefix + "seticon")) {
6149msg.guild.setIcon(args)
6150 .then(msg.reply("**تم تغيير صورة السيرفر ? **"))
6151 .catch(msg.reply("**رابط الصورة غير صحيح**"));
6152}else if(msg.content.startsWith(prefix + "setname")) {
6153 msg.guild.setName(args)
6154 .then(g => msg.reply(`**تم تغيير الاسم الى ${g} :white_check_mark:**`))
6155 .catch(console.error);
6156}
6157});
6158
6159» :Description: - وصف الكود :
6160 تغيير اسم وصورة السيرفر بالامر اعد رفع لان كان فيه مشكل بسيط
6161فا يب
6162» :Creator: - صانع الكود : @.Dez
6163» :Spreader: - ناشر الكود : @.Dez
6164
6165.Dez
616607/10/2019
6167 حذفته اول مااكتشفت الخطأ لي كان فيه عشان بس الناس ماتخذش كود مو شغال
6168 الكود شغلته وهو شغال تمام :2a:
6169
6170CodesSystem
6171BOT
617207/10/2019
6173@everyone, - جميع الحقوق محفوظة لدى كودز
6174» :Creator: - بلوك البوتات لي تجي في الخاص
6175client.on('message', msg => {
6176 if (msg.type == 'dm' && msg.author.bot ) {
6177msg.user.block()
6178}
6179});
6180
6181» :Description: - وصف الكود :
6182 كود بسيط مرا حدا طلبه مني فنشرته
6183 كود لما يبعثلك بوت خاص يسويله حسابك بلوك تلقائي
6184:joy:
6185 طفش يا اخي
6186» :Creator: - صانع الكود : @.Dez
6187» :Spreader: - ناشر الكود : @.Dez
6188
6189.Dez
619007/10/2019
6191 في شخص طلبه مني :2a:
6192am not responsible for any use of this script for accounts
6193 اعطونا اقتراحات عشان نسويلكم اكواد حلوة
6194 طبعا انا مو مسؤول عن اي شخص استعمله في حسابه وتبند
6195
6196CodesSystem
6197BOT
619807/10/2019
6199@everyone, - جميع الحقوق محفوظة لدى كودز
6200» :Creator: - اذا منشنك البوت خاص يبنده
6201client.on('message', msg => {
6202var mention = message.mentions.members.first()
6203
6204 if (msg.type == 'dm' && msg.author.bot ) {
6205if(mention .user.id == client.user.id) {
6206msg.user.block()
6207}
6208}
6209});
6210
6211» :Description: - وصف الكود :
6212 كود نفس لي فوق بس لما يمنشنك البوت يسويله بلوك تلقائي
6213 طبعا نا مو مسؤال عن اي شخص استخدمه في حسابه وتبند
6214I am not responsible for any use of this script for accounts
6215» :Creator: - صانع الكود : @.Dez
6216» :Spreader: - ناشر الكود : @.Dez
6217
6218CodesSystem
6219BOT
622007/12/2019
6221@everyone, - جميع الحقوق محفوظة لدى كودز
6222» :Creator: - help with onoff [JSON]
6223https://pastebin.com/b1u1gf6G
6224
6225» :Description: - وصف الكود :
6226 كود هلب بتفعيل والغاء تفعيل
6227يحتاج ملف help.json
6228وبكج fs
6229الكود باقتراح من : @?ù ، Angèl
6230» :Creator: - صانع الكود : @! ?x | REVENGE انا
6231» :Spreader: - ناشر الكود : @! ?x | REVENGE
6232
6233.Quiz ?
623407/12/2019
6235ايش فايدة كود هيلب بتفعيل والغاء تفعيل
6236
6237YouseF.js ' Dead
623807/12/2019
6239:484849051926265886:
6240
6241CodesSystem
6242BOT
624307/12/2019
6244@everyone, - جميع الحقوق محفوظة لدى كودز
6245» :Creator: - voice statu
6246client.on("ready", async () => {
6247 var guild = client.guilds.get('اي دي السيرفر');
6248
6249 setInterval(() => {
6250 if(!guild) return;
6251 var nameon=" Online ? :0" ; // يحب ان تبقي الصفر في الاسم المهم يكون موجود
6252 var channel1 = guild.channels.get("اي دي الروم يلي يظهر حالات الاعضاء النشطين");
6253 channel1.setName(`${nameon.replace(0, guild.members.filter(s => s.presence.status != 'offline').size)}`).catch(err => {
6254 if(err) return;
6255 });
6256 },500);
6257 var nameoff=" Offline ? :0" ; // يحب ان تبقي الصفر في الاسم المهم يكون موجود
6258 var channel2 = guild.channels.get("اي دي الروم يلي يظهر حالات الاعضاء الاوف");
6259 channel2 .setName(`${nameoff.replace(0, guild.members.filter(s => s.presence.status == 'offline').size)}`).catch(err => {
6260 if(err) return;
6261 });
6262 },500);
6263 var members=" Members? :0" ; // يحب ان تبقي الصفر في الاسم المهم يكون موجود
6264 var channel3 = guild.channels.get("اي دي الروم يلي يظهر حالات عدد الاعضاء");
6265 channel3 .setName(`${members.replace(0, guild.memberCount}`).catch(err => {
6266 if(err) return;
6267 });
6268 },500);
6269
6270
6271
6272 });
6273
6274» :Description: - وصف الكود :
6275 كود بسيط لعيون لي اقترحه في الخاص
6276 يوريلك عدد الاعضاء الاونلاين في روم
6277 والاوف لاين في روم
6278 وعدد الاعضاء الكلي في روم
6279» :Creator: - صانع الكود : @.Dez
6280» :Spreader: - ناشر الكود : @.Dez
6281
6282.Dez
628307/12/2019
6284 لو في خطأ تعال خاص وقلي عليه عشان اصلحه بأسرع وقت
6285
6286CodesSystem
6287BOT
628807/12/2019
6289@everyone, - جميع الحقوق محفوظة لدى كودز
6290» :Creator: - بحث عن صور في جوجل
6291client.on('message' , message => {
6292if(message.content.startsWith(prefix + 'img')) {
6293const query = message.content.split(" ").slice(1);
6294const url = `https://www.google.com/search?tbm=isch&q=${query}`;
6295if(!query) return message.channel.send(`**:x: | Error , Please Type Command True Ex : \`${prefix}img [Anything]\`**`)
6296let Images = new Discord.RichEmbed()
6297.setAuthor("Google Images","https://cdn.discordapp.com/attachments/594421865137569797/599226946290843648/iVRUEpoIAAAAASUVORK5CYII.png")
6298.setColor('BLUE')
6299.setTitle(`Images : \`${query.join(" ")}\``)
6300.setDescription(`${url}`)
6301.setFooter(message.author.username,message.author.avatarURL)
6302message.channel.send(Images)
6303}
6304
6305» :Description: - وصف الكود :
6306 كود يعطيك نتائج البحث في جوجل على عنوان الصورة لي انت اضفته
6307 بسيط + مفي افكار
6308» :Creator: - صانع الكود : @FireKing
6309» :Spreader: - ناشر الكود : @.Dez
6310@everyone, - جميع الحقوق محفوظة لدى كودز
6311» :Creator: - بحث عن نتائج اليوتيوب
6312client.on('message' , message => {
6313if(message.content.startsWith(prefix + 'youtube')) {
6314const query = message.content.split(" ").slice(1);
6315const url = `https://www.youtube.com/results?search_query=${query}`;
6316if(!query) return message.channel.send(`**:x: | Error , Please Type Command True Ex : \`${prefix}youtube [Anything]\`**`)
6317let querry = new Discord.RichEmbed()
6318.setAuthor("Youtube","https://cdn.discordapp.com/attachments/599152027628732429/599229170517540874/1GNwojhBBCCCGEEEIIIYQQQgghhBBCCCGEEELI7APi4BZVCOUmf4AAAAASUVORK5CYII.png")
6319.setColor('RED')
6320.setTitle(`Results : \`${query.join(" ")}\``)
6321.setDescription(`${url}`)
6322.setFooter(message.author.username,message.author.avatarURL)
6323message.channel.send(querry)
6324}
6325})
6326
6327» :Description: - وصف الكود :
6328 كود يعطيك نتائج البحث في اليوتيوب على عنوان المقاطع لي انت اضفته
6329 طفش الف الكودين ارسلهم لي صديقي ابو الحقوق خاص فانشرتهم
6330» :Creator: - صانع الكود : @FireKing
6331» :Spreader: - ناشر الكود : @.Dez
6332
6333.Dez
633407/12/2019
6335
6336
6337CodesSystem
6338BOT
633907/12/2019
6340@everyone, - جميع الحقوق محفوظة لدى كودز
6341» :Creator: - hide / unhide rooms
6342client.on('message', msg => {
6343 if(msg.content === '!hide') {
6344 msg.guild.channels.forEach(c => {
6345 c.overwritePermissions(msg.guild.id, {
6346 SEND_MESSAGES: false,
6347 READ_MESSAGES: false
6348 })
6349 })
6350 msg.channel.send('تم اخفاء الرومات من الاعضاء')
6351 }
6352})
6353
6354
6355client.on('message', msg => {
6356 if(msg.content === '!unhide') {
6357 msg.guild.channels.forEach(c => {
6358 c.overwritePermissions(msg.guild.id, {
6359 SEND_MESSAGES: true,
6360 READ_MESSAGES: true
6361 })
6362 })
6363 msg.channel.send('تم اظهار الرومات كلها للاعضاء')
6364 }
6365})
6366
6367» :Description: - وصف الكود :
6368 كود اخفاء واظهار كل الرومات على الاعضاء
6369» :Creator: - صانع الكود : @.Dez
6370» :Spreader: - ناشر الكود : @.Dez
6371@everyone, - جميع الحقوق محفوظة لدى كودز
6372» :Creator: - infoinvite
6373https://pastebin.com/iQ27sY7z
6374
6375» :Description: - وصف الكود :
6376 بوت بسيط يوريلك الانفو انفايت حقك بس
6377 زي ماموضع في الصورة لي تحت
6378https://cdn.discordapp.com/attachments/599039311236694036/599259623756922914/unknown.png
6379» :Creator: - صانع الكود : @.Dez البوت كله اخطاء لي يعرف مين مسويه يجيني خاص واضيفه
6380ضته حقوقي عشان نص الشغل كان علي :2a:
6381» :Spreader: - ناشر الكود : @.Dez
6382
6383
6384.Quiz ?
638507/12/2019
6386another undefinder.
6387
6388<h2 class="Zine..">
638907/12/2019
6390الكود الي فوق حق الفا كودز , حقوق لهم
6391
6392CodesSystem
6393BOT
639407/12/2019
6395@everyone, - جميع الحقوق محفوظة لدى كودز
6396» :Creator: - kick voice
6397client.on("message", message => {
6398 var prefix = '!'
6399 const command = message.content.split(" ")[0];
6400
6401 if(command == prefix+"vc"){
6402
6403 if (!message.guild.member(message.author).hasPermission('MOVE_MEMBERS') || !message.guild.member(message.author).hasPermission('ADMINISTRATOR')) {
6404 return message.reply('ماعندك صلاحية ');
6405 }
6406
6407 var member = message.guild.members.get(message.mentions.users.array()[0].id);
6408 if(!message.mentions.users){
6409 message.reply("منشن العضو ياولد")
6410 return;
6411 }
6412
6413 if(!member.voiceChannel){
6414 message.reply("العضو مو بروم صوتي")
6415 return;
6416 }
6417 message.guild.createChannel('voicekick', 'voice').then(c => {
6418 member.setVoiceChannel(c).then(() => {
6419 c.delete(305).catch(console.log)
6420
6421
6422
6423
6424 });
6425 });
6426 }
6427});
6428
6429» :Description: - وصف الكود :
6430 kick voice
6431» :Creator: - صانع الكود : مجهول تعرف مين صنعه تعال خاص عشان احطه
6432» :Spreader: - ناشر الكود : @.Dez
6433
6434.Quiz ?
643507/12/2019
6436يا قدمك :Shit_A:
6437use last version instead.
6438member.setVoiceChannel();
6439
6440CodesSystem
6441BOT
644207/14/2019
6443@everyone, - جميع الحقوق محفوظة لدى كودز
6444» :Creator: - online players minecraft
6445require('dotenv').config()
6446const axios = require('axios')
6447function pingForPlayers() {
6448
6449
6450 axios.get(`https://api.mcsrvstat.us/1/${process.env.MC_SERVER_IP}`).then(res => {
6451
6452 if(res.data && res.data.players) {
6453 let playerCount = res.data.players.online || 0 // Default to zero
6454 client.user.setPresence({
6455 game: {
6456
6457 name: `${playerCount} player${playerCount > 1 ? 's' : ''} on ${process.env.MC_SERVER_IP}`,
6458 type: 3
6459 }
6460 })
6461 console.log('Updated player count to', playerCount)
6462 }
6463 else
6464 console.log('Could not load player count data for', process.env.MC_SERVER)
6465
6466 }).catch(err => console.log('Error pinging api.mcsrvstat.us for data:', err))
6467}
6468
6469
6470client.on('ready', () => {
6471 console.log('bot is online')
6472 console.log('Logged in as', client.user.tag)
6473 console.log('Status of members in your server by Abdellhadi#0018')
6474 pingForPlayers()
6475 setInterval(pingForPlayers, Math.max(1, process.env.MC_PING_FREQUENCY || 1) * 60 * 1000)
6476})
6477
6478/// هون في لوقين حق البوت لازم تحط ذي
6479client.login(process.env.BOT_TOKEN)
6480
6481» :Description: - وصف الكود :
6482 كود يوريلك عدد الاعضاء حقك في سيرفرك ماين كرافت تتغير كل دقيقة في لوق حق البوت والواتشينغ
6483 يحتاج بكجات
6484 npm install dotenv
6485npm install axios
6486 ويحتاج الملف لي تحت غير المعلومات عليه وتحط التوكن حق البوت
6487 والايبي حق السيرفر
6488» :Creator: - صانع الكود : قيت هب
6489» :Spreader: - ناشر الكود : @.Dez
6490
6491.Dez
649207/14/2019
6493Attachment file type: unknown
6494env
649599 bytes
6496
6497- Julian .
649807/14/2019
6499https://github.com/SpencerTorres/Minecraft-Player-Count-Discord-Bot
6500GitHub
6501SpencerTorres/Minecraft-Player-Count-Discord-Bot
6502A Discord bot that updates its status message with the player count of a Minecraft server. - SpencerTorres/Minecraft-Player-Count-Discord-Bot
6503
6504
6505.Quiz ?
650607/14/2019
6507؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
6508
6509
6510- Julian .
651107/14/2019
6512:rolling_eyes:
6513
6514CodesSystem
6515BOT
651607/14/2019
6517@everyone, - جميع الحقوق محفوظة لدى كودز
6518» :Creator: - rep
6519const reps = JSON.parse(fs.readFileSync("./reps.json","utf8"));
6520client.on("message", msg => {
6521 moment.locale('ar_ly');
6522 let mention = msg.mentions.users.first();
6523 if(!msg.guild) return;
6524 if(msg.author.bot) return;
6525 if(!reps[msg.author.id]) reps[msg.author.id] = {
6526 rep: 0,
6527 reps: 1
6528 }
6529 fs.writeFile("./reps.json", JSON.stringify(reps), function(e) {
6530 if (e) throw e;
6531 })
6532 if(msg.content.startsWith(prefix + "rep")){
6533 if(!mention) return msg.channel.send(`**عليك ان تمنشن الشخص اولا**`)
6534 if(mention.id === msg.author.id) return msg.reply(`**من جد؟؟**`)
6535
6536 if(!reps[mention.id]) reps[mention.id] = {
6537 rep: 0,
6538 reps: 1
6539 }
6540
6541 if(reps[msg.author.id].reps != moment().format('L')) {
6542
6543 reps[msg.author.id].reps = moment().format('L');
6544 reps[mention.id].rep += 1
6545 msg.reply(`**
6546 تم اعطاْء اعجاب لـ
6547
6548${emote3}-User \`${mention.username}\`
6549
6550**`)
6551let emb = new Discord.RichEmbed()
6552 .setColor('#36393f')
6553 .setAuthor(mention.tag,mention.avatarURL)
6554 .setTitle(`**تم اعطأك اعجاب **`)
6555 .addField(`**اسم الذي قام بأعطأك اعجاب**`, `\`${msg.author.username}\``)
6556 .addField(`**ايدي الذي قام بأعطأك اعجاب **`, `\`${msg.author.id}\``)
6557 .addField(`**سيرفر الذي تم اعجابك به **`,`\`${msg.guild.name}\``)
6558 mention.send(emb);
6559
6560 fs.writeFile("./reps.json", JSON.stringify(reps), function(e) {
6561 if (e) throw e;
6562 })
6563 }else {
6564 msg.reply(`**
6565لأ تستطيع ان تعطي اعجاب
6566
6567-User \`${mention.username}\`
6568
6569
6570-Time يمكنك ان تعطي اعجاب \`${moment().endOf('day').fromNow()}\` **`)
6571
6572 }
6573 }
6574});
6575}
6576
6577» :Description: - وصف الكود :
6578 rep
6579» :Creator: - صانع الكود : @FireKing
6580» :Spreader: - ناشر الكود : @.Dez
6581
6582.Dez
658307/14/2019
6584 سوي ملف reps.json
6585 وحط فيه
6586{ }
6587
6588CodesSystem
6589BOT
6590Last Friday at 18:42
6591@everyone, - جميع الحقوق محفوظة لدى كودز
6592» :Creator: - كود يوريلك اسم السيرفرات والايديات لي داخل عليها بوتك
6593client.on('ready', () => {
6594 client.guilds.map((guild) => console.log(`Name: ${guild.name} (ID: ${guild.id})`));
6595});
6596
6597» :Description: - وصف الكود :
6598 كود يوريلك اسم السيرفرات والايديات حقتها في الكونسول لي داخل عليها بوتك
6599» :Creator: - صانع الكود : @.Dez
6600» :Spreader: - ناشر الكود : @.Dez
6601
6602.Dez
6603Last Friday at 18:47
6604:99:
6605
6606CodesSystem
6607BOT
6608Last Saturday at 17:17
6609@everyone, - جميع الحقوق محفوظة لدى كودز
6610» :Creator: - Vote
6611client.on('message', message => {
6612 if (message.channel.id === "ايدي الروم") {
6613 message.react('?')
6614 .then(() => {
6615 message.react('??')
6616 });
6617 }
6618});
6619
6620» :Description: - وصف الكود :
6621 كود بسيط يضيفلك رياكشن الصح والخطأ في اي شي تكتبه في روم معين
6622» :Creator: - صانع الكود : @.Dez
6623» :Spreader: - ناشر الكود : @.Dez
6624
6625.Dez
6626Last Saturday at 17:18
6627
6628
6629CodesSystem
6630BOT
6631Last Saturday at 17:34
6632@everyone, - جميع الحقوق محفوظة لدى كودز
6633» :Creator: - لما يدخل بوتك لسيرفر جديد يكتب في الروم
6634client.on('guildCreate', (guild) => {
6635
6636
6637 let channel = client.channels.get(guild.channels.filter(c => c.permissionsFor(client.user).has("SEND_MESSAGES") && c.type === "text").map(r => r.id)[0])
6638
6639 channel.send(`لمعرفة الاوامر الخاصة بالبوت \`!help\` ! `)
6640
6641});
6642
6643» :Description: - وصف الكود :
6644 لما يدخل بوتك لسيرفر جديد يكتب في الروم
6645» :Creator: - صانع الكود : @.Dez
6646» :Spreader: - ناشر الكود : @.Dez
6647
6648Abady
6649Last Saturday at 17:36
6650.filter(...)[0] why you need map :thinking: ?