Oxalist

Remy-Bot

Apr 2nd, 2021 (edited)
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.80 KB | None | 0 0
  1. on track end seen by "Remy":
  2. #if {loopTrackGuild::%discord id of event-guild%} is set:
  3. # stop the current track "REMY" is playing
  4. # search youtube for "%{loopTrackGuild::%discord id of event-guild%}%" and store the results in {_results::*}
  5. # force play {_results::1} in event-guild
  6. wait 60 seconds
  7. if event-bot is not playing:
  8. make "Remy" disconnect from voice
  9. # delete {loopTrackGuild::%discord id of event-guild%}
  10.  
  11. discord command play [<string>]:
  12. description: Play music with REMY
  13. usage: play <song name|song url>
  14. bots: Remy
  15. aliases: p, youtube
  16. executable in: guild
  17. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  18. trigger:
  19. if arg 1 is not set:
  20. create embed:
  21. set {_color} to color from rgb 64, 184 and 224
  22. set color of the embed to {_color}
  23. set title of the embed to "REMY Music Player"
  24. set description of the embed to "%reaction ""notes""% You need to provide a track name/link to begin"
  25. set the timestamp of embed to now
  26. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  27. send last made embed to event-channel with "Remy" and store it in {_message}
  28. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  29. add reaction "no_entry_sign" to {_message} with "Remy"
  30. stop
  31. if voice channel of event-member is set:
  32. if arg 1 contains "https://www.youtube.com/" or "https://youtube.com/" or "https://www.youtu.be/" or "https://youtu.be/":
  33. if arg 1 does not contain "index" or "start_radio" or "&t=":
  34. join voice channel of event-member
  35. set {voiceChannelBot::%discord id of event-guild%} to voice channel of event-member
  36. if track "Remy" is playing is not set:
  37. search youtube for "%arg-1%" and store the results in {_results::*}
  38. if {_results::*} is set:
  39. play {_results::1}
  40. create embed:
  41. set {_color} to color from rgb 64, 184 and 224
  42. set color of the embed to {_color}
  43. set title of the embed to "REMY Music Player"
  44. set {_duration} to "%duration of {_results::1}%"
  45. replace all "day" in {_duration} with " days,"
  46. replace all "hour" in {_duration} with " hours,"
  47. replace all "and" in {_duration} with ""
  48. replace all ",s" in {_duration} with ","
  49. replace all "minutes" in {_duration} with " minutes"
  50. replace all "seconds" in {_duration} with " seconds"
  51. set {songadder::%{_results::1}%} to "%discord nickname of event-member%##%discriminator of event-member%"
  52. set description of the embed to "%reaction ""notes""% Now playing [%{_results::1}%](%url of {_results::1}%) | Length: %{_duration}% | By %event-user%##%discriminator of event-user%"
  53. set the timestamp of embed to now
  54. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  55. send last made embed to event-channel with "Remy" and store it in {_message}
  56. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  57. add reaction "no_entry_sign" to {_message} with "Remy"
  58. else if {_results::*} is not set:
  59. create embed:
  60. set {_color} to color from rgb 64, 184 and 224
  61. set color of the embed to {_color}
  62. set title of the embed to "REMY Music Player"
  63. set description of the embed to "%reaction ""notes""% No track with that URL exists"
  64. set the timestamp of embed to now
  65. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  66. send last made embed to event-channel with "Remy" and store it in {_message}
  67. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  68. add reaction "no_entry_sign" to {_message} with "Remy"
  69. else if track "Remy" is playing is set:
  70. search youtube for "%arg-1%" and store the results in {_results::*}
  71. if {_results::*} is set:
  72. play {_results::1}
  73. create embed:
  74. set {_color} to color from rgb 64, 184 and 224
  75. set color of the embed to {_color}
  76. set title of the embed to "REMY Music Player"
  77. set {_duration} to "%duration of {_results::1}%"
  78. replace all "day" in {_duration} with " days,"
  79. replace all "hour" in {_duration} with " hours,"
  80. replace all "and" in {_duration} with ""
  81. replace all ",s" in {_duration} with ","
  82. replace all "minutes" in {_duration} with " minutes"
  83. replace all "seconds" in {_duration} with " seconds"
  84. set {songadder::%{_results::1}%} to "%discord nickname of event-member%##%discriminator of event-member%"
  85. set description of the embed to "%reaction ""notes""% Added to queue [%{_results::1}%](%url of {_results::1}%) | Length: %{_duration}% | By %event-user%##%discriminator of event-user%"
  86. set the timestamp of embed to now
  87. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  88. send last made embed to event-channel with "Remy" and store it in {_message}
  89. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  90. add reaction "no_entry_sign" to {_message} with "Remy"
  91. else if {_results::*} is not set:
  92. create embed:
  93. set {_color} to color from rgb 64, 184 and 224
  94. set color of the embed to {_color}
  95. set title of the embed to "REMY Music Player"
  96. set description of the embed to "%reaction ""notes""% No track with that URL exists"
  97. set the timestamp of embed to now
  98. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  99. send last made embed to event-channel with "Remy" and store it in {_message}
  100. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  101. add reaction "no_entry_sign" to {_message} with "Remy"
  102. else if arg 1 contains "index" or "start_radio" or "&t=":
  103. create embed:
  104. set {_color} to color from rgb 64, 184 and 224
  105. set color of the embed to {_color}
  106. set title of the embed to "REMY Music Player"
  107. set description of the embed to "Due to complications, YouTube radio does not function correctly."
  108. set the timestamp of embed to now
  109. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  110. send last made embed to event-channel with "Remy" and store it in {_message}
  111. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  112. add reaction "no_entry_sign" to {_message} with "Remy"
  113. else if arg 1 does not contain "https://www.youtube.com/" or "https://youtube.com/" or "https://www.youtu.be/" or "https://youtu.be/" or "https://soundcloud.com/" or "https://www.soundcloud.com/":
  114. join voice channel of event-member
  115. if track "Remy" is playing is not set:
  116. search youtube for "%arg-1%" and store the results in {_results::*}
  117. if {_results::*} is set:
  118. play {_results::1}
  119. create embed:
  120. set {_color} to color from rgb 64, 184 and 224
  121. set color of the embed to {_color}
  122. set title of the embed to "REMY Music Player"
  123. set {_duration} to "%duration of {_results::1}%"
  124. replace all "day" in {_duration} with " days,"
  125. replace all "hour" in {_duration} with " hours,"
  126. replace all "and" in {_duration} with ""
  127. replace all ",s" in {_duration} with ","
  128. replace all "minutes" in {_duration} with " minutes"
  129. replace all "seconds" in {_duration} with " seconds"
  130. set {songadder::%{_results::1}%} to "%discord nickname of event-member%##%discriminator of event-member%"
  131. set description of the embed to "%reaction ""notes""% Now playing [%{_results::1}%](%url of {_results::1}%) | Length: %{_duration}% | By %event-user%##%discriminator of event-user%"
  132. set the timestamp of embed to now
  133. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  134. send last made embed to event-channel with "Remy" and store it in {_message}
  135. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  136. add reaction "no_entry_sign" to {_message} with "Remy"
  137. else if {_results::*} is not set:
  138. create embed:
  139. set {_color} to color from rgb 64, 184 and 224
  140. set color of the embed to {_color}
  141. set title of the embed to "REMY Music Player"
  142. set description of the embed to "%reaction ""notes""% No track with that name exists"
  143. set the timestamp of embed to now
  144. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  145. send last made embed to event-channel with "Remy" and store it in {_message}
  146. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  147. add reaction "no_entry_sign" to {_message} with "Remy"
  148. else if track "Remy" is playing is set:
  149. search youtube for "%arg-1%" and store the results in {_results::*}
  150. if {_results::*} is set:
  151. play {_results::1}
  152. create embed:
  153. set {_color} to color from rgb 64, 184 and 224
  154. set color of the embed to {_color}
  155. set title of the embed to "REMY Music Player"
  156. set {_duration} to "%duration of {_results::1}%"
  157. replace all "day" in {_duration} with " days,"
  158. replace all "hour" in {_duration} with " hours,"
  159. replace all "and" in {_duration} with ""
  160. replace all ",s" in {_duration} with ","
  161. replace all "minutes" in {_duration} with " minutes"
  162. replace all "seconds" in {_duration} with " seconds"
  163. set {songadder::%{_results::1}%} to "%discord nickname of event-member%##%discriminator of event-member%"
  164. set description of the embed to "%reaction ""notes""% Added to queue [%{_results::1}%](%url of {_results::1}%) | Length: %{_duration}% | By %event-user%##%discriminator of event-user%"
  165. set the timestamp of embed to now
  166. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  167. send last made embed to event-channel with "Remy" and store it in {_message}
  168. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  169. add reaction "no_entry_sign" to {_message} with "Remy"
  170. else if {_results::*} is not set:
  171. create embed:
  172. set {_color} to color from rgb 64, 184 and 224
  173. set color of the embed to {_color}
  174. set title of the embed to "REMY Music Player"
  175. set description of the embed to "%reaction ""notes""% No track with that name exists"
  176. set the timestamp of embed to now
  177. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  178. send last made embed to event-channel with "Remy" and store it in {_message}
  179. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  180. add reaction "no_entry_sign" to {_message} with "Remy"
  181. else if voice channel of event-member is not set:
  182. create embed:
  183. set {_color} to color from rgb 64, 184 and 224
  184. set color of the embed to {_color}
  185. set title of the embed to "REMY Music Player"
  186. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, You need to enter a voice channel to listen to music."
  187. set the timestamp of embed to now
  188. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  189. send last made embed to event-channel with "Remy" and store it in {_message}
  190. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  191. add reaction "no_entry_sign" to {_message} with "Remy"
  192.  
  193.  
  194. discord command stop:
  195. description: Stop current track, clears the queue and disconnects REMY from the VC
  196. usage: stop
  197. bots: Remy
  198. executable in: guild
  199. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  200. trigger:
  201. if event-bot is playing:
  202. stop the track "Remy" is playing
  203. reset the queue of "Remy"
  204. make "Remy" leave vc
  205. delete {voiceChannelBot::%discord id of event-guild%}
  206. delete {loopTrackGuild::%discord id of event-guild%}
  207. create embed:
  208. set {_color} to color from rgb 64, 184 and 224
  209. set color of the embed to {_color}
  210. set title of the embed to "REMY Music Player"
  211. set description of the embed to "%reaction ""notes""% Stopped the music and cleared the queue."
  212. set the timestamp of embed to now
  213. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  214. send last made embed to event-channel with "Remy" and store it in {_message}
  215. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  216. add reaction "no_entry_sign" to {_message} with "Remy"
  217. else if event-bot is not playing:
  218. create embed:
  219. set {_color} to color from rgb 64, 184 and 224
  220. set color of the embed to {_color}
  221. set title of the embed to "REMY Music Player"
  222. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, No music is currently playing with REMY."
  223. set the timestamp of embed to now
  224. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  225. send last made embed to event-channel with "Remy" and store it in {_message}
  226. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  227. add reaction "no_entry_sign" to {_message} with "Remy"
  228.  
  229.  
  230. discord command pause:
  231. description: Pause the current track that REMY is playing
  232. usage: pause
  233. bots: Remy
  234. executable in: guild
  235. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  236. trigger:
  237. if "Remy" isn't paused:
  238. pause the track "Remy" is playing
  239. create embed:
  240. set {_color} to color from rgb 64, 184 and 224
  241. set color of the embed to {_color}
  242. set title of the embed to "REMY Music Player"
  243. set description of the embed to "%reaction ""notes""% Paused the current track REMY is playing"
  244. set the timestamp of embed to now
  245. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  246. send last made embed to event-channel with "Remy" and store it in {_message}
  247. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  248. add reaction "no_entry_sign" to {_message} with "Remy"
  249. else if "Remy" is paused:
  250. create embed:
  251. set {_color} to color from rgb 64, 184 and 224
  252. set color of the embed to {_color}
  253. set title of the embed to "REMY Music Player"
  254. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, REMY is already paused, use __remy resume__ to resume the track"
  255. set the timestamp of embed to now
  256. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  257. send last made embed to event-channel with "Remy" and store it in {_message}
  258. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  259. add reaction "no_entry_sign" to {_message} with "Remy"
  260.  
  261.  
  262. discord command resume:
  263. description: Resume the current track that REMY has paused
  264. usage: resume
  265. bots: Remy
  266. executable in: guild
  267. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  268. trigger:
  269. if "Remy" is paused:
  270. resume the track "Remy" is playing
  271. create embed:
  272. set {_color} to color from rgb 64, 184 and 224
  273. set color of the embed to {_color}
  274. set title of the embed to "REMY Music Player"
  275. set description of the embed to "%reaction ""notes""% Resumed the current track REMY has paused"
  276. set the timestamp of embed to now
  277. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  278. send last made embed to event-channel with "Remy" and store it in {_message}
  279. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  280. add reaction "no_entry_sign" to {_message} with "Remy"
  281. else if "Remy" isn't paused:
  282. create embed:
  283. set {_color} to color from rgb 64, 184 and 224
  284. set color of the embed to {_color}
  285. set title of the embed to "REMY Music Player"
  286. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, REMY is already playing, use __remy pause__ to pause the track"
  287. set the timestamp of embed to now
  288. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  289. send last made embed to event-channel with "Remy" and store it in {_message}
  290. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  291. add reaction "no_entry_sign" to {_message} with "Remy"
  292.  
  293.  
  294. discord command skip:
  295. description: Skip the track REMY is currently playing
  296. usage: skip
  297. bots: Remy
  298. executable in: guild
  299. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  300. trigger:
  301. if track "Remy" is playing is set:
  302. if queue of event-bot is set:
  303. skip track "Remy" is playing in event-guild
  304. delete {loopTrackGuild::%discord id of event-guild%}
  305. create embed:
  306. set {_color} to color from rgb 64, 184 and 224
  307. set color of the embed to {_color}
  308. set title of the embed to "REMY Music Player"
  309. set description of the embed to "%reaction ""notes""% Skipped track%nl%%nl%Now playing%nl%[%track event-bot is playing%](%url of track event-bot is playing%) | `%duration of track event-bot is playing% | Added by: %{songadder::%track event-bot is playing%}%`"
  310. set the timestamp of embed to now
  311. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  312. send last made embed to event-channel with "Remy" and store it in {_message}
  313. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  314. add reaction "no_entry_sign" to {_message} with "Remy"
  315. else if queue of event-bot is not set:
  316. create embed:
  317. set {_color} to color from rgb 64, 184 and 224
  318. set color of the embed to {_color}
  319. set title of the embed to "REMY Music Player"
  320. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, No track is currently in REMY's music queue, use __remy stop__ to stop the music"
  321. set the timestamp of embed to now
  322. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  323. send last made embed to event-channel with "Remy" and store it in {_message}
  324. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  325. add reaction "no_entry_sign" to {_message} with "Remy"
  326. else if track "Remy" is playing is not set:
  327. create embed:
  328. set {_color} to color from rgb 64, 184 and 224
  329. set color of the embed to {_color}
  330. set title of the embed to "REMY Music Player"
  331. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, No track is currently playing with REMY."
  332. set the timestamp of embed to now
  333. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  334. send last made embed to event-channel with "Remy" and store it in {_message}
  335. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  336. add reaction "no_entry_sign" to {_message} with "Remy"
  337.  
  338. on voice channel leave:
  339. if discord id of event-member is "799578706166415370":
  340. delete {voiceChannelBot::%discord id of event-guild%}
  341. delete {loopTrackGuild::%discord id of event-guild%}
  342.  
  343. discord command join:
  344. description: Make REMY join the VC you are in
  345. usage: join
  346. bots: Remy
  347. executable in: guild
  348. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  349. trigger:
  350. if voice channel of event-member is set:
  351. if voice channel of event-member is not {voiceChannelBot::%discord id of event-guild%}:
  352. set {voiceChannelBot::%discord id of event-guild%} to voice channel of event-member
  353. join voice channel of event-member
  354. create embed:
  355. set {_color} to color from rgb 64, 184 and 224
  356. set color of the embed to {_color}
  357. set title of the embed to "REMY Music Player"
  358. set description of the embed to "%reaction ""notes""% Joined **%voice channel of event-member%**"
  359. set the timestamp of embed to now
  360. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  361. send last made embed to event-channel with "Remy" and store it in {_message}
  362. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  363. add reaction "no_entry_sign" to {_message} with "Remy"
  364. else if voice channel of event-member is {voiceChannelBot::%discord id of event-guild%}:
  365. create embed:
  366. set {_color} to color from rgb 64, 184 and 224
  367. set color of the embed to {_color}
  368. set title of the embed to "REMY Music Player"
  369. set description of the embed to "%reaction ""notes""% REMY is already in this VC."
  370. set the timestamp of embed to now
  371. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  372. send last made embed to event-channel with "Remy" and store it in {_message}
  373. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  374. add reaction "no_entry_sign" to {_message} with "Remy"
  375. else if voice channel of event-member is not set:
  376. create embed:
  377. set {_color} to color from rgb 64, 184 and 224
  378. set color of the embed to {_color}
  379. set title of the embed to "REMY Music Player"
  380. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, You need to be in a VC for REMY to join."
  381. set the timestamp of embed to now
  382. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  383. send last made embed to event-channel with "Remy" and store it in {_message}
  384. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  385. add reaction "no_entry_sign" to {_message} with "Remy"
  386.  
  387.  
  388. discord command queue [<string>] [<number>]:
  389. description: Check REMY's current queue as well as remove tracks from the queue
  390. bots: Remy
  391. usage: queue [<remove>] [<track number>]
  392. executable in: guild
  393. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  394. trigger:
  395. if arg 1 is not set:
  396. set {_queue::*} to queue of event-bot in event-guild
  397. set {_i} to 1
  398. loop 10 times:
  399. if {_queue::%{_i}%} is set:
  400. set {_list::%{_i}%} to "`%{_i}%.` [%{_queue::%{_i}%}%](%url of {_queue::%{_i}%}%) | `%duration of {_queue::%{_i}%}% | Added by: %{songadder::%{_queue::%{_i}%}%}%`%nl%"
  401. else if {_queue::%{_i}%} is not set:
  402. set {_list::%{_i}%} to ""
  403. add 1 to {_i}
  404. loop {_queue::*}:
  405. add duration of loop-value to {_fulltime}
  406. if queue of "Remy" is set:
  407. set {_thing} to "%{_list::1}%%{_list::2}%%{_list::3}%%{_list::4}%%{_list::5}%%{_list::6}%%{_list::7}%%{_list::8}%%{_list::9}%%{_list::10}%%nl%**%size of {_queue::*}% tracks in queue | %{_fulltime} ? ""N/A""%**"
  408. else if queue of "Remy" is not set:
  409. set {_thing} to "No songs in the queue%nl%%nl%**%size of {_queue::*}% tracks in queue | %{_fulltime} ? ""N/A""%**"
  410. if event-bot is playing:
  411. set {_track} to "%reaction ""notes""% **Currently Playing** %reaction ""notes""%%nl%[%discord name of track event-bot is playing%](%url of track event-bot is playing%) | `%duration of track event-bot is playing% | Added by: %{songadder::%discord name of track event-bot is playing%}%`"
  412. else if event-bot is not playing:
  413. set {_track} to "%reaction ""notes""% **Currently Playing** %reaction ""notes""%%nl%No song is currently playing"
  414. create embed:
  415. set {_color} to color from rgb 64, 184 and 224
  416. set color of the embed to {_color}
  417. set title of the embed to "REMY Music Player"
  418. set description of the embed to "%{_track}%%nl%%nl%%reaction ""arrow_down""% **Queue** %reaction ""arrow_down""%%nl%%nl%%{_thing}%"
  419. set the timestamp of embed to now
  420. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  421. send last made embed to event-channel with "Remy" and store it in {_message}
  422. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  423. add reaction "no_entry_sign" to {_message} with "Remy"
  424. else if arg 1 is "remove":
  425. if arg 2 is set:
  426. set {_queue::*} to queue of event-bot in event-guild
  427. if {_queue::%arg 2%} is set:
  428. set {_removedsong} to {_queue::%arg 2%}
  429. reset the queue of "Remy"
  430. remove {_queue::%arg 2%} from {_queue::*}
  431. loop {_queue::*}:
  432. play loop-value
  433. reply with "%reaction ""notes""% Removed **%{_removedsong}%** from the current queue"
  434. else if {_queue::%arg 2%} is not set:
  435. create embed:
  436. set {_color} to color from rgb 64, 184 and 224
  437. set color of the embed to {_color}
  438. set title of the embed to "REMY Music Player"
  439. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, the queue contains %size of {_queue::*}% tracks"
  440. set the timestamp of embed to now
  441. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  442. send last made embed to event-channel with "Remy" and store it in {_message}
  443. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  444. add reaction "no_entry_sign" to {_message} with "Remy"
  445.  
  446. discord command loop:
  447. description: Loop the current track REMY is currently playing
  448. usage: loop <none/current>
  449. bots: Remy
  450. executable in: guild
  451. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  452. trigger:
  453. reply with "Due to an error, this command has been disabled."
  454. stop
  455. if {loopTrackGuild::%discord id of event-guild%} is not set:
  456. if track "Remy" is playing is set:
  457. set {loopTrackGuild::%discord id of event-guild%} to url of track "Remy" is playing
  458. create embed:
  459. set {_color} to color from rgb 64, 184 and 224
  460. set color of the embed to {_color}
  461. set title of the embed to "REMY Music Player"
  462. set description of the embed to "%reaction ""notes""% Looping the current song __[%track ""Remy"" is playing%](%url of track ""Remy"" is playing%)__"
  463. set the timestamp of embed to now
  464. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  465. send last made embed to event-channel with "Remy" and store it in {_message}
  466. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  467. add reaction "no_entry_sign" to {_message} with "Remy"
  468. else if track "Remy" is playing is not set:
  469. create embed:
  470. set {_color} to color from rgb 64, 184 and 224
  471. set color of the embed to {_color}
  472. set title of the embed to "REMY Music Player"
  473. set description of the embed to "%reaction ""notes""% Oops **%event-user%**, No track is currently playing with REMY."
  474. set the timestamp of embed to now
  475. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  476. send last made embed to event-channel with "Remy" and store it in {_message}
  477. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  478. add reaction "no_entry_sign" to {_message} with "Remy"
  479. else if {loopTrackGuild::%discord id of event-guild%} is set:
  480. delete {loopTrackGuild::%discord id of event-guild%}
  481. create embed:
  482. set {_color} to color from rgb 64, 184 and 224
  483. set color of the embed to {_color}
  484. set title of the embed to "REMY Music Player"
  485. set description of the embed to "%reaction ""notes""% Turned off current song looping"
  486. set the timestamp of embed to now
  487. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  488. send last made embed to event-channel with "Remy" and store it in {_message}
  489. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  490. add reaction "no_entry_sign" to {_message} with "Remy"
  491.  
  492. discord command volume [<integer>]:
  493. description: Change the volume of REMY
  494. usage: volume <volume e.g. 1 - 100>
  495. bots: Remy
  496. executable in: guild
  497. prefixes: "%{guildCommandPrefix::%discord id of event-guild%}%", "r!", "remy "
  498. trigger:
  499. if arg 1 is set:
  500. if arg 1 is between 1 and 100:
  501. set the volume of "Remy" to arg-1
  502. create embed:
  503. set {_color} to color from rgb 64, 184 and 224
  504. set color of the embed to {_color}
  505. set title of the embed to "REMY Music Player"
  506. set description of the embed to "%reaction ""loud_sound""% Set **REMY's** volume to __%arg 1%__"
  507. set the timestamp of embed to now
  508. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  509. send last made embed to event-channel with "Remy" and store it in {_message}
  510. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  511. add reaction "no_entry_sign" to {_message} with "Remy"
  512. else if arg 1 is not between 1 and 100:
  513. create embed:
  514. set {_color} to color from rgb 64, 184 and 224
  515. set color of the embed to {_color}
  516. set title of the embed to "REMY Music Player"
  517. set description of the embed to "%reaction ""loud_sound""% Oops **%event-user%**, You need to specify an integer between 1 and 100"
  518. set the timestamp of embed to now
  519. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  520. send last made embed to event-channel with "Remy" and store it in {_message}
  521. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  522. add reaction "no_entry_sign" to {_message} with "Remy"
  523. else if arg 1 is not set:
  524. create embed:
  525. set {_color} to color from rgb 64, 184 and 224
  526. set color of the embed to {_color}
  527. set title of the embed to "REMY Music Player"
  528. set description of the embed to "%reaction ""loud_sound""% **REMY's** volume is set at __%volume of ""Remy""%__%nl%`remy volume [<1 - 100>]`"
  529. set the timestamp of embed to now
  530. set footer of embed to a footer with text "%event-member% (%discord id of event-member%)" and icon "%avatar of event-member%"
  531. send last made embed to event-channel with "Remy" and store it in {_message}
  532. if {guildMessageReactionDelete::%discord id of event-guild%} is set:
  533. add reaction "no_entry_sign" to {_message} with "Remy"
  534.  
Add Comment
Please, Sign In to add comment