Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information...
TempusWare committed Apr 6, 2019
0 parents commit 40057a1b216c3edc59c48a91ff880c006de63d20
Showing with 37,977 additions and 0 deletions.
  1. +2 −0 .gitattributes
  2. +74 −0 index.js
  3. +7 −0 node_modules/async-limiter/.travis.yml
  4. +8 −0 node_modules/async-limiter/LICENSE
  5. +1 −0 node_modules/async-limiter/coverage/coverage.json
  6. +73 −0 node_modules/async-limiter/coverage/lcov-report/async-throttle/index.html
  7. +246 −0 node_modules/async-limiter/coverage/lcov-report/async-throttle/index.js.html
  8. +182 −0 node_modules/async-limiter/coverage/lcov-report/base.css
  9. +73 −0 node_modules/async-limiter/coverage/lcov-report/index.html
  10. +1 −0 node_modules/async-limiter/coverage/lcov-report/prettify.css
  11. +1 −0 node_modules/async-limiter/coverage/lcov-report/prettify.js
  12. BIN node_modules/async-limiter/coverage/lcov-report/sort-arrow-sprite.png
  13. +156 −0 node_modules/async-limiter/coverage/lcov-report/sorter.js
  14. +74 −0 node_modules/async-limiter/coverage/lcov.info
  15. +67 −0 node_modules/async-limiter/index.js
  16. +69 −0 node_modules/async-limiter/package.json
  17. +132 −0 node_modules/async-limiter/readme.md
  18. +3 −0 node_modules/discord.js/.gitmodules
  19. +21 −0 node_modules/discord.js/.tern-project
  20. +190 −0 node_modules/discord.js/LICENSE
  21. +87 −0 node_modules/discord.js/README.md
  22. +9 −0 node_modules/discord.js/browser.js
  23. +122 −0 node_modules/discord.js/package.json
  24. +558 −0 node_modules/discord.js/src/client/Client.js
  25. +138 −0 node_modules/discord.js/src/client/ClientDataManager.js
  26. +375 −0 node_modules/discord.js/src/client/ClientDataResolver.js
  27. +74 −0 node_modules/discord.js/src/client/ClientManager.js
  28. +118 −0 node_modules/discord.js/src/client/WebhookClient.js
  29. +23 −0 node_modules/discord.js/src/client/actions/Action.js
  30. +40 −0 node_modules/discord.js/src/client/actions/ActionsManager.js
  31. +11 −0 node_modules/discord.js/src/client/actions/ChannelCreate.js
  32. +30 −0 node_modules/discord.js/src/client/actions/ChannelDelete.js
  33. +34 −0 node_modules/discord.js/src/client/actions/ChannelUpdate.js
  34. +13 −0 node_modules/discord.js/src/client/actions/GuildBanRemove.js
  35. +19 −0 node_modules/discord.js/src/client/actions/GuildChannelsPositionUpdate.js
  36. +57 −0 node_modules/discord.js/src/client/actions/GuildDelete.js
  37. +17 −0 node_modules/discord.js/src/client/actions/GuildEmojiCreate.js
  38. +18 −0 node_modules/discord.js/src/client/actions/GuildEmojiDelete.js
  39. +17 −0 node_modules/discord.js/src/client/actions/GuildEmojiUpdate.js
  40. +38 −0 node_modules/discord.js/src/client/actions/GuildEmojisUpdate.js
  41. +10 −0 node_modules/discord.js/src/client/actions/GuildMemberGet.js
  42. +41 −0 node_modules/discord.js/src/client/actions/GuildMemberRemove.js
  43. +26 −0 node_modules/discord.js/src/client/actions/GuildRoleCreate.js
  44. +42 −0 node_modules/discord.js/src/client/actions/GuildRoleDelete.js
  45. +41 −0 node_modules/discord.js/src/client/actions/GuildRoleUpdate.js
  46. +19 −0 node_modules/discord.js/src/client/actions/GuildRolesPositionUpdate.js
  47. +29 −0 node_modules/discord.js/src/client/actions/GuildSync.js
  48. +34 −0 node_modules/discord.js/src/client/actions/GuildUpdate.js
  49. +55 −0 node_modules/discord.js/src/client/actions/MessageCreate.js
  50. +35 −0 node_modules/discord.js/src/client/actions/MessageDelete.js
  51. +26 −0 node_modules/discord.js/src/client/actions/MessageDeleteBulk.js
  52. +37 −0 node_modules/discord.js/src/client/actions/MessageReactionAdd.js
  53. +37 −0 node_modules/discord.js/src/client/actions/MessageReactionRemove.js
  54. +25 −0 node_modules/discord.js/src/client/actions/MessageReactionRemoveAll.js
  55. +40 −0 node_modules/discord.js/src/client/actions/MessageUpdate.js
  56. +11 −0 node_modules/discord.js/src/client/actions/UserGet.js
  57. +30 −0 node_modules/discord.js/src/client/actions/UserNoteUpdate.js
  58. +33 −0 node_modules/discord.js/src/client/actions/UserUpdate.js
  59. +52 −0 node_modules/discord.js/src/client/rest/APIRequest.js
  60. +60 −0 node_modules/discord.js/src/client/rest/DiscordAPIError.js
  61. +57 −0 node_modules/discord.js/src/client/rest/RESTManager.js
  62. +949 −0 node_modules/discord.js/src/client/rest/RESTMethods.js
  63. +84 −0 node_modules/discord.js/src/client/rest/RequestHandlers/Burst.js
  64. +54 −0 node_modules/discord.js/src/client/rest/RequestHandlers/RequestHandler.js
  65. +126 −0 node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js
  66. +25 −0 node_modules/discord.js/src/client/rest/UserAgentManager.js
  67. +81 −0 node_modules/discord.js/src/client/voice/ClientVoiceManager.js
  68. +366 −0 node_modules/discord.js/src/client/voice/VoiceBroadcast.js
  69. +530 −0 node_modules/discord.js/src/client/voice/VoiceConnection.js
  70. +127 −0 node_modules/discord.js/src/client/voice/VoiceUDPClient.js
  71. +246 −0 node_modules/discord.js/src/client/voice/VoiceWebSocket.js
  72. +331 −0 node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js
  73. +60 −0 node_modules/discord.js/src/client/voice/opus/BaseOpusEngine.js
  74. +40 −0 node_modules/discord.js/src/client/voice/opus/NodeOpusEngine.js
  75. +28 −0 node_modules/discord.js/src/client/voice/opus/OpusEngineList.js
  76. +45 −0 node_modules/discord.js/src/client/voice/opus/OpusScriptEngine.js
  77. +170 −0 node_modules/discord.js/src/client/voice/player/AudioPlayer.js
  78. +17 −0 node_modules/discord.js/src/client/voice/receiver/VoiceReadable.js
  79. +219 −0 node_modules/discord.js/src/client/voice/receiver/VoiceReceiver.js
  80. +16 −0 node_modules/discord.js/src/client/voice/util/SecretKey.js
  81. +33 −0 node_modules/discord.js/src/client/voice/util/Secretbox.js
  82. +86 −0 node_modules/discord.js/src/client/voice/util/VolumeInterface.js
  83. +506 −0 node_modules/discord.js/src/client/websocket/WebSocketConnection.js
  84. +90 −0 node_modules/discord.js/src/client/websocket/WebSocketManager.js
  85. +108 −0 node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js
  86. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/AbstractHandler.js
  87. +17 −0 node_modules/discord.js/src/client/websocket/packets/handlers/ChannelCreate.js
  88. +20 −0 node_modules/discord.js/src/client/websocket/packets/handlers/ChannelDelete.js
  89. +31 −0 node_modules/discord.js/src/client/websocket/packets/handlers/ChannelPinsUpdate.js
  90. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/ChannelUpdate.js
  91. +23 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildBanAdd.js
  92. +20 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildBanRemove.js
  93. +22 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildCreate.js
  94. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildDelete.js
  95. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildEmojisUpdate.js
  96. +17 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildMemberAdd.js
  97. +13 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildMemberRemove.js
  98. +18 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildMemberUpdate.js
  99. +33 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildMembersChunk.js
  100. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildRoleCreate.js
  101. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildRoleDelete.js
  102. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildRoleUpdate.js
  103. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildSync.js
  104. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/GuildUpdate.js
  105. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js
  106. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageDelete.js
  107. +17 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageDeleteBulk.js
  108. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageReactionAdd.js
  109. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageReactionRemove.js
  110. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageReactionRemoveAll.js
  111. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/MessageUpdate.js
  112. +76 −0 node_modules/discord.js/src/client/websocket/packets/handlers/PresenceUpdate.js
  113. +83 −0 node_modules/discord.js/src/client/websocket/packets/handlers/Ready.js
  114. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/RelationshipAdd.js
  115. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/RelationshipRemove.js
  116. +28 −0 node_modules/discord.js/src/client/websocket/packets/handlers/Resumed.js
  117. +68 −0 node_modules/discord.js/src/client/websocket/packets/handlers/TypingStart.js
  118. +21 −0 node_modules/discord.js/src/client/websocket/packets/handlers/UserGuildSettingsUpdate.js
  119. +12 −0 node_modules/discord.js/src/client/websocket/packets/handlers/UserNoteUpdate.js
  120. +18 −0 node_modules/discord.js/src/client/websocket/packets/handlers/UserSettingsUpdate.js
  121. +11 −0 node_modules/discord.js/src/client/websocket/packets/handlers/UserUpdate.js
  122. +19 −0 node_modules/discord.js/src/client/websocket/packets/handlers/VoiceServerUpdate.js
  123. +52 −0 node_modules/discord.js/src/client/websocket/packets/handlers/VoiceStateUpdate.js
  124. +64 −0 node_modules/discord.js/src/index.js
  125. +282 −0 node_modules/discord.js/src/sharding/Shard.js
  126. +146 −0 node_modules/discord.js/src/sharding/ShardClientUtil.js
  127. +220 −0 node_modules/discord.js/src/sharding/ShardingManager.js
  128. +75 −0 node_modules/discord.js/src/structures/Attachment.js
  129. +22 −0 node_modules/discord.js/src/structures/CategoryChannel.js
  130. +76 −0 node_modules/discord.js/src/structures/Channel.js
  131. +431 −0 node_modules/discord.js/src/structures/ClientUser.js
  132. +30 −0 node_modules/discord.js/src/structures/ClientUserChannelOverride.js
  133. +60 −0 node_modules/discord.js/src/structures/ClientUserGuildSettings.js
  134. +80 −0 node_modules/discord.js/src/structures/ClientUserSettings.js
  135. +69 −0 node_modules/discord.js/src/structures/DMChannel.js
  136. +251 −0 node_modules/discord.js/src/structures/Emoji.js
  137. +239 −0 node_modules/discord.js/src/structures/GroupDMChannel.js
  138. +1,351 −0 node_modules/discord.js/src/structures/Guild.js
  139. +371 −0 node_modules/discord.js/src/structures/GuildAuditLogs.js
  140. +529 −0 node_modules/discord.js/src/structures/GuildChannel.js
  141. +609 −0 node_modules/discord.js/src/structures/GuildMember.js
  142. +163 −0 node_modules/discord.js/src/structures/Invite.js
  143. +604 −0 node_modules/discord.js/src/structures/Message.js
  144. +68 −0 node_modules/discord.js/src/structures/MessageAttachment.js
  145. +100 −0 node_modules/discord.js/src/structures/MessageCollector.js
  146. +386 −0 node_modules/discord.js/src/structures/MessageEmbed.js
  147. +144 −0 node_modules/discord.js/src/structures/MessageMentions.js
  148. +96 −0 node_modules/discord.js/src/structures/MessageReaction.js
  149. +147 −0 node_modules/discord.js/src/structures/OAuth2Application.js
  150. +51 −0 node_modules/discord.js/src/structures/PartialGuild.js
  151. +44 −0 node_modules/discord.js/src/structures/PartialGuildChannel.js
  152. +69 −0 node_modules/discord.js/src/structures/PermissionOverwrites.js
  153. +219 −0 node_modules/discord.js/src/structures/Presence.js
  154. +85 −0 node_modules/discord.js/src/structures/ReactionCollector.js
  155. +49 −0 node_modules/discord.js/src/structures/ReactionEmoji.js
  156. +279 −0 node_modules/discord.js/src/structures/RichEmbed.js
  157. +376 −0 node_modules/discord.js/src/structures/Role.js
  158. +126 −0 node_modules/discord.js/src/structures/TextChannel.js
  159. +322 −0 node_modules/discord.js/src/structures/User.js
  160. +48 −0 node_modules/discord.js/src/structures/UserConnection.js
  161. +62 −0 node_modules/discord.js/src/structures/UserProfile.js
  162. +146 −0 node_modules/discord.js/src/structures/VoiceChannel.js
  163. +50 −0 node_modules/discord.js/src/structures/VoiceRegion.js
  164. +301 −0 node_modules/discord.js/src/structures/Webhook.js
  165. +179 −0 node_modules/discord.js/src/structures/interfaces/Collector.js
  166. +609 −0 node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js
  167. +26 −0 node_modules/discord.js/src/structures/shared/resolvePermissions.js
  168. +532 −0 node_modules/discord.js/src/util/Collection.js
  169. +828 −0 node_modules/discord.js/src/util/Constants.js
  170. +305 −0 node_modules/discord.js/src/util/Permissions.js
  171. +82 −0 node_modules/discord.js/src/util/Snowflake.js
  172. +219 −0 node_modules/discord.js/src/util/Util.js
  173. +10 −0 node_modules/discord.js/typings/LICENSE
  174. +15 −0 node_modules/discord.js/typings/README.md
  175. +69 −0 node_modules/discord.js/typings/discord.js-test.ts
  176. +2,133 −0 node_modules/discord.js/typings/index.d.ts
  177. +13 −0 node_modules/discord.js/typings/package.json
  178. +13 −0 node_modules/discord.js/typings/tsconfig.json
  179. +62 −0 node_modules/discord.js/typings/tslint.json
  180. +202 −0 node_modules/long/LICENSE
  181. +246 −0 node_modules/long/README.md
  182. +2 −0 node_modules/long/dist/long.js
  183. +1 −0 node_modules/long/dist/long.js.map
  184. +1 −0 node_modules/long/index.js
  185. +63 −0 node_modules/long/package.json
  186. +1,323 −0 node_modules/long/src/long.js
  187. +132 −0 node_modules/prism-media/.eslintrc.json
  188. +6 −0 node_modules/prism-media/.travis.yml
  189. +201 −0 node_modules/prism-media/LICENSE
  190. +29 −0 node_modules/prism-media/README.md
  191. 0 node_modules/prism-media/output.opus
  192. +56 −0 node_modules/prism-media/package.json
  193. +17 −0 node_modules/prism-media/src/Prism.js
  194. +6 −0 node_modules/prism-media/src/index.js
  195. +90 −0 node_modules/prism-media/src/opus/OggOpus.js
  196. +31 −0 node_modules/prism-media/src/transcoders/MediaTranscoder.js
  197. +51 −0 node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js
  198. +95 −0 node_modules/prism-media/src/transcoders/ffmpeg/FfmpegProcess.js
  199. 0 node_modules/prism-media/src/util/Constants.js
  200. +19 −0 node_modules/prism-media/test/main.js
  201. +12 −0 node_modules/prism-media/test/test.js
  202. +21 −0 node_modules/safe-buffer/LICENSE
  203. +584 −0 node_modules/safe-buffer/README.md
  204. +187 −0 node_modules/safe-buffer/index.d.ts
  205. +62 −0 node_modules/safe-buffer/index.js
  206. +62 −0 node_modules/safe-buffer/package.json
  207. +161 −0 node_modules/snekfetch/.eslintrc.json
  208. +14 −0 node_modules/snekfetch/.github/ISSUE_TEMPLATE.md
  209. +1 −0 node_modules/snekfetch/.github/PULL_REQUEST_TEMPLATE.md
  210. +15 −0 node_modules/snekfetch/.travis.yml
  211. +46 −0 node_modules/snekfetch/CODE_OF_CONDUCT.md
  212. +1 −0 node_modules/snekfetch/CONTRIBUTING.md
  213. +21 −0 node_modules/snekfetch/LICENSE
  214. +49 −0 node_modules/snekfetch/README.md
  215. +1 −0 node_modules/snekfetch/browser.js
  216. +55 −0 node_modules/snekfetch/docs.js
  217. +41 −0 node_modules/snekfetch/esm.mjs
  218. +1 −0 node_modules/snekfetch/index.js
  219. +82 −0 node_modules/snekfetch/package.json
  220. +29 −0 node_modules/snekfetch/scripts/travis-deploy.sh
  221. +14 −0 node_modules/snekfetch/scripts/travis-test.sh
  222. +36 −0 node_modules/snekfetch/src/browser.js
  223. +256 −0 node_modules/snekfetch/src/index.js
  224. +51 −0 node_modules/snekfetch/src/node/FormData.js
  225. +151 −0 node_modules/snekfetch/src/node/index.js
  226. +16 −0 node_modules/snekfetch/src/node/mime.js
  227. +546 −0 node_modules/snekfetch/src/node/mimeOfBuffer.js
  228. +1,049 −0 node_modules/snekfetch/src/node/mimes.json
  229. +24 −0 node_modules/snekfetch/src/node/transports/ResponseStream.js
  230. +113 −0 node_modules/snekfetch/src/node/transports/file.js
  231. +102 −0 node_modules/snekfetch/src/node/transports/http2.js
  232. +9 −0 node_modules/snekfetch/src/qs_mock.js
  233. +15 −0 node_modules/snekfetch/sync.js
  234. +4 −0 node_modules/snekfetch/test/.eslintrc.json
  235. +7 −0 node_modules/snekfetch/test/browser/http1.test.js
  236. +7 −0 node_modules/snekfetch/test/browser/http2.test.js
  237. +5 −0 node_modules/snekfetch/test/browser/main.js
  238. +22 −0 node_modules/snekfetch/test/interop.js
  239. +152 −0 node_modules/snekfetch/test/main.js
  240. +47 −0 node_modules/snekfetch/test/node/file.test.js
  241. +7 −0 node_modules/snekfetch/test/node/http1.test.js
  242. +7 −0 node_modules/snekfetch/test/node/http2.test.js.disabled
  243. +26 −0 node_modules/snekfetch/test/node/main.js
  244. +10 −0 node_modules/snekfetch/test/node/sync.test.js
  245. +17 −0 node_modules/snekfetch/test/node/util.test.js
  246. +41 −0 node_modules/snekfetch/test/server.js
  247. +18 −0 node_modules/snekfetch/webpack.config.js
  248. +27 −0 node_modules/tweetnacl/AUTHORS.md
  249. +256 −0 node_modules/tweetnacl/CHANGELOG.md
  250. +24 −0 node_modules/tweetnacl/LICENSE
  251. +20 −0 node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md
  252. +494 −0 node_modules/tweetnacl/README.md
  253. +2,377 −0 node_modules/tweetnacl/nacl-fast.js
  254. +2 −0 node_modules/tweetnacl/nacl-fast.min.js
  255. +98 −0 node_modules/tweetnacl/nacl.d.ts
  256. +1,164 −0 node_modules/tweetnacl/nacl.js
  257. +1 −0 node_modules/tweetnacl/nacl.min.js
  258. +83 −0 node_modules/tweetnacl/package.json
  259. +21 −0 node_modules/ws/LICENSE
  260. +389 −0 node_modules/ws/README.md
  261. +9 −0 node_modules/ws/index.js
  262. BIN node_modules/ws/lib/.DS_Store
  263. +65 −0 node_modules/ws/lib/buffer-util.js
  264. +10 −0 node_modules/ws/lib/constants.js
  265. +170 −0 node_modules/ws/lib/event-target.js
  266. +211 −0 node_modules/ws/lib/extension.js
  267. +521 −0 node_modules/ws/lib/permessage-deflate.js
  268. +589 −0 node_modules/ws/lib/receiver.js
  269. +404 −0 node_modules/ws/lib/sender.js
  270. +29 −0 node_modules/ws/lib/validation.js
  271. +351 −0 node_modules/ws/lib/websocket-server.js
  272. +705 −0 node_modules/ws/lib/websocket.js
  273. +79 −0 node_modules/ws/package.json
  274. +59 −0 package-lock.json
  275. +15 −0 package.json
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
@@ -0,0 +1,74 @@
const Discord = require("discord.js");
const client = new Discord.Client();

const prefix = "-";

client.once("ready", () => {
console.log("Ready!");
client.user.setActivity("Beepity Boop I have no friends")
});

client.login("NTYzODc1MTU4NzM4MjA2NzIw.XKgFRQ.RRb0WPyEIgLTZkEWhUSHEiAZPSw");

// Card-Jitsu Game
var cardElements = [":fire:", ":droplet:", ":snowflake:"];
var cardColours = [":yellow_heart:", ":large_orange_diamond:", ":red_circle:", ":purple_heart:", ":green_heart:", ":large_blue_circle:"]
function createCard(type) {
return type[Math.floor(Math.random() * type.length)];
};
function cardPower() {
return ":clock" + Math.floor((Math.random() * 12) + 1) + ":"
}
function playerCards() {
return new Discord.RichEmbed()
.setTitle("Card-Jitsu Cards")
.addField("1: " + playerCard01.element + playerCard01.colour + playerCard01.power)
.addField("2: " + playerCard02.element + playerCard02.colour + playerCard02.power)
.addField("3: " + playerCard03.element + playerCard03.colour + playerCard03.power)
.addField("4: " + playerCard04.element + playerCard04.colour + playerCard04.power)
.addField("5: " + playerCard05.element + playerCard05.colour + playerCard05.power)
}

client.on("message", message => {
if (!message.content.startsWith(prefix) || message.author.bot) return;

const args = message.content.slice(prefix.length).split("-");

switch (args.shift().toLowerCase()) {
case "ping":
message.reply("Pong! :ping_pong:")
break;
case "cardjitsu":
if (!message.mentions.users.size) {
var botCards = [
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower()
];
var playerCards = [
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower(),
createCard(cardElements), createCard(cardColours), cardPower()
];
message.channel.send("Bot Cards:\n" + ":one: " + botCards[0] + botCards[1] + botCards[2] + "\n" + ":two: " + botCards[3] + botCards[4] + botCards[5] + "\n" + ":three: " + botCards[6] + botCards[7] + botCards[8] + "\n" + ":four: " + botCards[9] + botCards[10] + botCards[11] + "\n" + ":five: " + botCards[12] + botCards[13] + botCards[14] + "\n" + ":six: " + botCards[15] + botCards[16] + botCards[17]);
message.channel.send("Player Cards:\n" + ":one: " + playerCards[0] + playerCards[1] + playerCards[2] + "\n" + ":two: " + playerCards[3] + playerCards[4] + playerCards[5] + "\n" + ":three: " + playerCards[6] + playerCards[7] + playerCards[8] + "\n" + ":four: " + playerCards[9] + playerCards[10] + playerCards[11] + "\n" + ":five: " + playerCards[12] + playerCards[13] + playerCards[14] + "\n" + ":six: " + playerCards[15] + playerCards[16] + playerCards[17]);
message.reply("Choose a card.");
if (args[1] === "1") {
message.reply("You chose card 1")
}
} else if (message.mentions.users.size == 1) {
message.reply("TWO PLAYER MODE");
} else {
message.reply("Can't have more than 2 players.");
}
break;
default:
message.reply("Not a command, mate.")
}
});

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit 40057a1

Please sign in to comment.
You can’t perform that action at this time.