Advertisement
n3k4a

Untitled

May 28th, 2019
1,505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.91 KB | None | 0 0
  1. const Discord = require('discord.js');
  2. const Baron - Toxic Codes = new Discord.Client();
  3. const prefix = '$';
  4. Baron - Toxic Codes.on("ready", ()=>{
  5. Baron - Toxic Codes.user.setActivity('Baron - Toxic Codes Development', {type : 'watching'});
  6. console.log('Loding')
  7. setTimeout(() => {
  8. console.log('Loding.')//Baron - Toxic Codes
  9. }, 500)
  10. setTimeout(() => {
  11. console.log('Loding..')//Baron - Toxic Codes
  12. }, 1000)
  13. setTimeout(() => {
  14. console.log('Loding...')//Baron - Toxic Codes
  15. }, 1500)
  16. setTimeout(() => {
  17. console.log(`Logged as ${Baron - Toxic Codes.user.tag}`)//Baron - Toxic Codes
  18. }, 2000)
  19. })
  20. Baron - Toxic Codes.on("message", message =>{//Baron - Toxic Codes
  21. //السطر ال تحت لمنع تكرار انشاء الرتب لو عاوز تغير اسم الرتب غيرها وحط اسمها فى السطر ال تحت كمان علشان ميحصلش سبام
  22. let roles = message.guild.roles.find(all=> all.name === "⇁『KiNG 』‏‏༄ ❥", "⇁『LEADER』‏‏༄ ❥", "⇁『BiG BOSS 』‏‏༄ ❥", "⇁『CAPTAIN 』‏‏༄ ❥", "⇁『SERGEANT 』‏‏༄ ❥",
  23. "⇁『youtuber 』‏‏༄ ❥", "⇁『ACTIVE 』‏‏༄ ❥");//Baron - Toxic Codes
  24. if(message.content.startsWith(prefix + "roles")) {//Baron - Toxic Codes
  25. if(message.author.bot) return;//Baron - Toxic Codes
  26. if(roles) return message.reply('**الرتب موجوده بالفعل**')//Baron - Toxic Codes
  27. //دى بقا الرتب ال انت عاوزو يعملها
  28. let roleking = message.guild.roles.find(r => r.name === "⇁『KiNG 』‏‏༄ ❥");//Baron - Toxic Codes
  29. if(!roleking) {
  30. message.guild.createRole({//Baron - Toxic Codes
  31. name: '⇁『KiNG 』‏‏༄ ❥',
  32. color: 'RANDOM',
  33. position: (1),
  34. hoist: (true),
  35. permissions: 'ADMINISTRATOR'
  36. })
  37. }
  38. let roleleader = message.guild.roles.find(r => r.name === "⇁『LEADER』‏‏༄ ❥");//Baron - Toxic Codes
  39. if(!roleleader) {
  40. message.guild.createRole({//Baron - Toxic Codes
  41. name: '⇁『LEADER』‏‏༄ ❥',//Baron - Toxic Codes
  42. color: 'RANDOM',
  43. position: (2),//Baron - Toxic Codes
  44. hoist: (true),
  45. permissions: ['CREATE_INSTANT_INVITE', 'KICK_MEMBERS', 'BAN_MEMBERS', 'MANAGE_CHANNELS', 'ADD_REACTIONS', 'VIEW_AUDIT_LOG', 'VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES',
  46. 'SEND_TTS_MESSAGES', 'MANAGE_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY', 'MENTION_EVERYONE', 'CONNECT', 'SPEAK', 'MUTE_MEMBERS', 'DEAFEN_MEMBERS',
  47. 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'MANAGE_NICKNAMES'],
  48. })
  49. }//Baron - Toxic Codes
  50. let rolebigboss = message.guild.roles.find(r => r.name === "⇁『BiG BOSS 』‏‏༄ ❥");//Baron - Toxic Codes
  51. if(!rolebigboss) {//Baron - Toxic Codes
  52. message.guild.createRole({
  53. name: '⇁『BiG BOSS 』‏‏༄ ❥',
  54. color: 'RANDOM',
  55. position: (3),//Baron - Toxic Codes
  56. hoist: (true),
  57. permissions: ['CREATE_INSTANT_INVITE', 'KICK_MEMBERS', 'ADD_REACTIONS', 'VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'MANAGE_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK', 'MUTE_MEMBERS', 'DEAFEN_MEMBERS',
  58. 'READ_MESSAGE_HISTORY', 'MENTION_EVERYONE', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'MANAGE_NICKNAMES']
  59. })
  60. }//Baron - Toxic Codes
  61. let rolecaptain = message.guild.roles.find(r => r.name === "⇁『CAPTAIN 』‏‏༄ ❥");//Baron - Toxic Codes
  62. if(!rolecaptain) {//Baron - Toxic Codes
  63. message.guild.createRole({
  64. name: '⇁『CAPTAIN 』‏‏༄ ❥',
  65. color: 'RANDOM',
  66. postion: (4),
  67. hoist: (true),//Baron - Toxic Codes
  68. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'MANAGE_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK', 'MUTE_MEMBERS', 'DEAFEN_MEMBERS',
  69. 'READ_MESSAGE_HISTORY', 'MENTION_EVERYONE', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME']
  70. })
  71. }
  72. let rolesergant = message.guild.roles.find(r => r.name === "⇁『SERGEANT 』‏‏༄ ❥");//Baron - Toxic Codes
  73. if(!rolesergant) {
  74. message.guild.createRole({
  75. name: '⇁『SERGEANT 』‏‏༄ ❥',
  76. color: 'RANDOM',//Baron - Toxic Codes
  77. postion: (5),
  78. hoist: (true),//Baron - Toxic Codes
  79. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'MANAGE_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK', 'MUTE_MEMBERS',
  80. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME']
  81. })
  82. }//Baron - Toxic Codes
  83. let roleyoutuber = message.guild.roles.find(r => r.name === "⇁『youtuber 』‏‏༄ ❥");
  84. if(!roleyoutuber) {//Baron - Toxic Codes
  85. message.guild.createRole({
  86. name: '⇁『youtuber 』‏‏༄ ❥',
  87. color: 'RANDOM',
  88. postion: (6),
  89. hoist: (true),//Baron - Toxic Codes
  90. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  91. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  92. })
  93. }
  94. let roleactive = message.guild.roles.find(r => r.name === "⇁『ACTIVE 』‏‏༄ ❥");//Baron - Toxic Codes
  95. if(!roleactive) {//Baron - Toxic Codes
  96. message.guild.createRole({
  97. name: '⇁『ACTIVE 』‏‏༄ ❥',
  98. color: 'RANDOM',
  99. postion: (7),
  100. hoist: (true),//Baron - Toxic Codes
  101. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',//Baron - Toxic Codes
  102. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']//Baron - Toxic Codes
  103. })
  104. message.guild.createRole({//Baron - Toxic Codes
  105. name: 'Fortnite',
  106. color: 'RANDOM',//Baron - Toxic Codes
  107. postion: (7),
  108. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',//Baron - Toxic Codes
  109. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']//Baron - Toxic Codes
  110. })
  111. message.guild.createRole({//Baron - Toxic Codes
  112. name: 'playerunknowns',
  113. color: 'RANDOM',
  114. postion: (7),
  115. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  116. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']//Baron - Toxic Codes
  117. })//Baron - Toxic Codes
  118. message.guild.createRole({
  119. name: 'counter-strike',
  120. color: 'RANDOM',//Baron - Toxic Codes
  121. postion: (7),
  122. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  123. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  124. })//Baron - Toxic Codes
  125. message.guild.createRole({
  126. name: 'creative-destruction',//Baron - Toxic Codes
  127. color: 'RANDOM',
  128. postion: (7),
  129. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  130. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  131. })
  132. message.guild.createRole({//Baron - Toxic Codes
  133. name: 'overwatch',
  134. color: 'RANDOM',
  135. postion: (7),//Baron - Toxic Codes
  136. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  137. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  138. })//Baron - Toxic Codes
  139. message.guild.createRole({
  140. name: 'minecraft',//Baron - Toxic Codes
  141. color: 'RANDOM',
  142. postion: (7),//Baron - Toxic Codes
  143. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  144. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  145. })//Baron - Toxic Codes
  146. message.guild.createRole({//Baron - Toxic Codes
  147. name: 'league-of-legends',
  148. color: 'RANDOM',//Baron - Toxic Codes
  149. postion: (7),
  150. permissions: ['VIEW_CHANNEL', 'READ_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS', 'ATTACH_FILES', 'CONNECT', 'SPEAK',
  151. 'READ_MESSAGE_HISTORY', 'MOVE_MEMBERS', 'USE_VAD', 'CHANGE_NICKNAME', 'ADD_REACTIONS']
  152. })//Baron - Toxic Codes
  153. message.channel.send(message.member + '**جارى انشاء الرتب**').then((m)=> {
  154. setTimeout(() => {//Baron - Toxic Codes
  155. m.edit('**تم انشاء الرتب بنجاح**')
  156. }, 3000);//Baron - Toxic Codes
  157. })
  158. }//Baron - Toxic Codes
  159. }
  160. })//Baron - Toxic Codes
  161. Baron - Toxic Codes.on("message", message =>{
  162. let roleyoutuber = message.guild.roles.find(r => r.name === "⇁『youtuber 』‏‏༄ ❥");
  163. let rolepubg = message.guild.roles.find(r => r.name === "playerunknowns");
  164. let rolecsgo = message.guild.roles.find(r => r.name === "counter-strike");
  165. let rolecd = message.guild.roles.find(r => r.name === "creative-destruction");
  166. let roleow = message.guild.roles.find(r => r.name === "overwatch");
  167. let rolemc = message.guild.roles.find(r => r.name === "minecraft");
  168. let rolelol = message.guild.roles.find(r => r.name === "league-of-legends");
  169. let rolefortnite = message.guild.roles.find(r => r.name === "Fortnite");
  170. //Baron - Toxic Codes
  171. let roles = message.guild.roles.find(all=> all.name === "⇁『KiNG 』‏‏༄ ❥", "⇁『LEADER』‏‏༄ ❥", "⇁『BiG BOSS 』‏‏༄ ❥", "⇁『CAPTAIN 』‏‏༄ ❥", "⇁『SERGEANT 』‏‏༄ ❥",
  172. "⇁『youtuber 』‏‏༄ ❥", "⇁『ACTIVE 』‏‏༄ ❥");//Baron - Toxic Codes
  173. if(message.content.startsWith(prefix + "channels")) {
  174. if(!roles) return message.reply("**من فضلك قم بانشاء الرتب اولا اكتب $roles**")//Baron - Toxic Codes
  175. if(roles) {//Baron - Toxic Codes
  176. message.reply("**جارى انشاء الرومات**").then((c)=> {//Baron - Toxic Codes
  177. setTimeout(() => {
  178. c.edit("**تم انشاء الرومات بنجاح**")//Baron - Toxic Codes
  179. }, 10000);
  180. })
  181. message.guild.createChannel(`${message.guild.name}-TEXT` , 'category').then(tb => {//Baron - Toxic Codes
  182. message.guild.createChannel('welcome' , 'text').then(nws => {
  183. nws.setParent(tb);
  184. nws.overwritePermissions(message.guild.id, {
  185. SEND_MESSAGES: false,
  186. MENTION_EVERYONE: false//Baron - Toxic Codes
  187. })
  188. })
  189. message.guild.createChannel('info' , 'text').then(inf => {//Baron - Toxic Codes
  190. inf.setParent(tb);//Baron - Toxic Codes
  191. inf.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  192. SEND_MESSAGES: false,
  193. MENTION_EVERYONE: false//Baron - Toxic Codes
  194. })
  195. })
  196. message.guild.createChannel('news' , 'text').then(nws => {//Baron - Toxic Codes
  197. nws.setParent(tb);
  198. nws.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  199. SEND_MESSAGES: false,
  200. MENTION_EVERYONE: false//Baron - Toxic Codes
  201. })
  202. })//Baron - Toxic Codes
  203. message.guild.createChannel('chat' , 'text').then(cht => {//Baron - Toxic Codes
  204. cht.setParent(tb);
  205. cht.overwritePermissions(message.guild.id, {
  206. MENTION_EVERYONE: false//Baron - Toxic Codes
  207. })
  208. })
  209. message.guild.createChannel('bot-commands' , 'text').then(cmd => {//Baron - Toxic Codes
  210. cmd.setParent(tb);
  211. cmd.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  212. MENTION_EVERYONE: false//Baron - Toxic Codes
  213. })
  214. })
  215. message.guild.createChannel('youtubers' , 'text').then(yt => {//Baron - Toxic Codes
  216. yt.setParent(tb);//Baron - Toxic Codes
  217. yt.overwritePermissions(roleyoutuber, {
  218. SEND_MESSAGES: true
  219. })
  220. yt.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  221. SEND_MESSAGES: false,
  222. MENTION_EVERYONE: false
  223. })
  224. })//Baron - Toxic Codes
  225. message.guild.createChannel('pic' , 'text').then(pic => {//Baron - Toxic Codes
  226. pic.setParent(tb);
  227. pic.overwritePermissions(message.guild.id, {
  228. MENTION_EVERYONE: false
  229. })
  230. })
  231. message.guild.createChannel('cut-tweet' , 'text').then(cut => {
  232. cut.setParent(tb);
  233. cut.overwritePermissions(message.guild.id, {
  234. MENTION_EVERYONE: false
  235. })//Baron - Toxic Codes
  236. })
  237. })
  238. message.guild.createChannel(`Games-Chat` , 'category').then(tb => {//Baron - Toxic Codes
  239. message.guild.createChannel('Fortnite' , 'text').then(wlc => {
  240. wlc.setParent(tb);
  241. wlc.overwritePermissions(message.guild.id, {
  242. SEND_MESSAGES: false,
  243. MENTION_EVERYONE: false
  244. })//Baron - Toxic Codes
  245. wlc.overwritePermissions(rolefortnite, {
  246. SEND_MESSAGES: true,
  247. MENTION_EVERYONE: false
  248. })
  249. })//Baron - Toxic Codes
  250. message.guild.createChannel('playerunknowns' , 'text').then(ch => {//Baron - Toxic Codes
  251. ch.setParent(tb);
  252. ch.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  253. SEND_MESSAGES: false,
  254. MENTION_EVERYONE: false
  255. })
  256. ch.overwritePermissions(rolepubg, {//Baron - Toxic Codes
  257. SEND_MESSAGES: true,
  258. MENTION_EVERYONE: false//Baron - Toxic Codes
  259. })
  260. })
  261. message.guild.createChannel('counter-strike' , 'text').then(ch => {//Baron - Toxic Codes
  262. ch.setParent(tb);
  263. ch.overwritePermissions(message.guild.id, {
  264. SEND_MESSAGES: false,//Baron - Toxic Codes
  265. MENTION_EVERYONE: false
  266. })
  267. ch.overwritePermissions(rolecsgo, {
  268. SEND_MESSAGES: true,
  269. MENTION_EVERYONE: false
  270. })//Baron - Toxic Codes
  271. })
  272. message.guild.createChannel('creative-destruction' , 'text').then(ch => {//Baron - Toxic Codes
  273. ch.setParent(tb);
  274. ch.overwritePermissions(rolecd, {
  275. SEND_MESSAGES: true,//Baron - Toxic Codes
  276. MENTION_EVERYONE: false
  277. })
  278. ch.overwritePermissions(message.guild.id, {
  279. SEND_MESSAGES: false,
  280. MENTION_EVERYONE: false
  281. })//Baron - Toxic Codes
  282. })
  283. message.guild.createChannel('overwatch' , 'text').then(ch => {//Baron - Toxic Codes
  284. ch.setParent(tb);
  285. ch.overwritePermissions(roleow, {
  286. SEND_MESSAGES: true,//Baron - Toxic Codes
  287. MENTION_EVERYONE: false
  288. })
  289. ch.overwritePermissions(message.guild.id, {
  290. SEND_MESSAGES: false,
  291. MENTION_EVERYONE: false
  292. })//Baron - Toxic Codes
  293. })
  294. message.guild.createChannel('minecraft' , 'text').then(ch => {//Baron - Toxic Codes
  295. ch.setParent(tb);
  296. ch.overwritePermissions(rolemc, {
  297. SEND_MESSAGES: true,
  298. MENTION_EVERYONE: false
  299. })
  300. ch.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  301. SEND_MESSAGES: false,
  302. MENTION_EVERYONE: false
  303. })
  304. })//Baron - Toxic Codes
  305. message.guild.createChannel('league-of-legends' , 'text').then(ch => {
  306. ch.setParent(tb);//Baron - Toxic Codes
  307. ch.overwritePermissions(rolelol, {
  308. SEND_MESSAGES: true,
  309. MENTION_EVERYONE: false
  310. })//Baron - Toxic Codes
  311. ch.overwritePermissions(message.guild.id, {
  312. SEND_MESSAGES: false,
  313. MENTION_EVERYONE: false//Baron - Toxic Codes
  314. })
  315. })
  316. })
  317. message.guild.createChannel(`.${message.guild.name} | 🔊 .` , 'category').then(tb => {//Baron - Toxic Codes
  318. message.guild.createChannel('「الـقـرأن الـكـريــم | 📜」' , 'voice').then(ch => {
  319. ch.setParent(tb);
  320. ch.overwritePermissions(message.guild.id, {
  321. SPEAK: false//Baron - Toxic Codes
  322. })
  323. message.guild.createChannel('「Events | 🎲 .」' , 'voice').then(ch => {
  324. ch.setParent(tb);
  325. ch.setUserLimit(50)//Baron - Toxic Codes
  326. ch.overwritePermissions(message.guild.id, {
  327. SPEAK: false,
  328. //Baron - Toxic Codes
  329. })
  330. })
  331. })
  332. })
  333. message.guild.createChannel(`.Talking | ✋🏽 .` , 'category').then(tb => {
  334. message.guild.createChannel(`「${message.guild.name} | 🔊 .」` , 'voice').then(ch => {//Baron - Toxic Codes
  335. ch.setParent(tb);
  336. ch.setUserLimit(50)//Baron - Toxic Codes
  337. })
  338. message.guild.createChannel('「Sounds | ♫ .」' , 'voice').then(ch => {//Baron - Toxic Codes
  339. ch.setParent(tb);
  340. ch.setUserLimit(50)//Baron - Toxic Codes
  341. })
  342. })
  343. message.guild.createChannel(`» Games | الالعاب .` , 'category').then(tb => {//Baron - Toxic Codes
  344. message.guild.createChannel(`Fortnite | فورتنآيت .` , 'voice').then(ch => {
  345. ch.setParent(tb);//Baron - Toxic Codes
  346. ch.overwritePermissions(message.guild.id, {
  347. CONNECT: false,
  348.  
  349. })
  350. ch.overwritePermissions(rolefortnite, {
  351. CONNECT: true,//Baron - Toxic Codes
  352.  
  353. })
  354. })//Baron - Toxic Codes
  355. message.guild.createChannel('Minecraft | مآينكرآفت' , 'voice').then(ch => {
  356. ch.setParent(tb);
  357. ch.overwritePermissions(message.guild.id, {//Baron - Toxic Codes
  358. CONNECT: false,
  359.  
  360. })
  361. ch.overwritePermissions(rolemc, {//Baron - Toxic Codes
  362. CONNECT: true,
  363.  
  364. })
  365. })//Baron - Toxic Codes
  366. message.guild.createChannel(`Creative | كريآتف .` , 'voice').then(ch => {
  367. ch.setParent(tb);//Baron - Toxic Codes
  368. ch.overwritePermissions(message.guild.id, {
  369. CONNECT: false,
  370.  
  371. })
  372. ch.overwritePermissions(rolecd, {
  373. CONNECT: true,//Baron - Toxic Codes
  374.  
  375. })
  376. })
  377. message.guild.createChannel('Legends | لوول' , 'voice').then(ch => {//Baron - Toxic Codes
  378. ch.setParent(tb);
  379. ch.overwritePermissions(message.guild.id, {
  380. CONNECT: false,
  381.  
  382. })//Baron - Toxic Codes
  383. ch.overwritePermissions(rolelol, {
  384. CONNECT: true,//Baron - Toxic Codes
  385.  
  386. })
  387. })
  388. })
  389. message.guild.createChannel(`» DJ | الموسيقي .` , 'category').then(tb => {//Baron - Toxic Codes
  390. message.guild.createChannel(`» Art.` , 'voice').then(ch => {
  391. ch.setParent(tb);
  392. ch.setUserLimit(15)//Baron - Toxic Codes
  393. })
  394. message.guild.createChannel(`» Fun.` , 'voice').then(ch => {
  395. ch.setParent(tb);
  396. ch.setUserLimit(15)
  397. })//Baron - Toxic Codes
  398. message.guild.createChannel(`» Life.` , 'voice').then(ch => {
  399. ch.setParent(tb);
  400. ch.setUserLimit(15)//Baron - Toxic Codes
  401. })
  402. message.guild.createChannel(`» Sing.` , 'voice').then(ch => {
  403. ch.setParent(tb);
  404. ch.setUserLimit(15)
  405. })//Baron - Toxic Codes
  406. })
  407. message.guild.createChannel(`» Privates | خآص .` , 'category').then(tb => {//Baron - Toxic Codes
  408. message.guild.createChannel(`» Single.` , 'voice').then(ch => {
  409. ch.setParent(tb);
  410. ch.setUserLimit(1)
  411. })//Baron - Toxic Codes
  412. message.guild.createChannel('» Doubles.' , 'voice').then(ch => {
  413. ch.setParent(tb);
  414. ch.setUserLimit(2)
  415. })//Baron - Toxic Codes
  416. message.guild.createChannel('» Triples.' , 'voice').then(ch => {
  417. ch.setParent(tb);
  418. ch.setUserLimit(3)
  419. })//Baron - Toxic Codes
  420. message.guild.createChannel('» Forth.' , 'voice').then(ch => {
  421. ch.setParent(tb);
  422. ch.setUserLimit(4)
  423. })//Baron - Toxic Codes
  424. message.guild.createChannel('» Classic.' , 'voice').then(ch => {
  425. ch.setParent(tb);
  426. ch.setUserLimit(10)
  427. })//Baron - Toxic Codes
  428. message.guild.createChannel('» Group.' , 'voice').then(ch => {
  429. ch.setParent(tb);
  430. ch.setUserLimit(15)
  431. })
  432. })//Baron - Toxic Codes
  433. }
  434. }
  435. })//Baron - Toxic Codes
  436. Baron - Toxic Codes.login('the token here');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement