Home:
/:discord://-/- friends:
discord://-/channels/@me/ - nitro:
discord://-/store - shop:
discord://-/shop - message requests:
discord://-/message-requests - family centre:
discord://-/family-center
| // Run using jasmine-node. | |
| // e.g.: jasmine-node file_name.spec.js | |
| Array.prototype.mymap = function (callback) { | |
| var obj = Object(this); | |
| if (obj.length === 0) return null; | |
| if (typeof(callback) === 'undefined') return null; | |
| for (var i = 0, o; o = obj[i]; i++) { |
| const discord = require('discord.js'); | |
| require('discord-reply'); //⚠️ IMPORTANT: put this before your discord.Client() | |
| const client = new discord.Client(); | |
| client.on('ready', () => { | |
| console.log(client.user.tag) | |
| }); | |
| client.on('message', async message => { | |
| if (message.content.startsWith('!reply')) { |
| * Numeric permission flags. All available properties: | |
| * * `CREATE_INSTANT_INVITE` (create invitations to the guild) | |
| * * `KICK_MEMBERS` | |
| * * `BAN_MEMBERS` | |
| * * `ADMINISTRATOR` (implicitly has *all* permissions, and bypasses all channel overwrites) | |
| * * `MANAGE_CHANNELS` (edit and reorder channels) | |
| * * `MANAGE_GUILD` (edit the guild information, region, etc.) | |
| * * `ADD_REACTIONS` (add new reactions to messages) | |
| * * `VIEW_AUDIT_LOG` | |
| * * `PRIORITY_SPEAKER` |
| using { /Verse.org/Random } | |
| Array<public> := module: | |
| # Makes an `array` with only unique elements | |
| (Input:[]t where t:subtype(comparable)).Unique<public>()<transacts>:[]t = | |
| var UniqueArray : []t = array{} | |
| for (Value : Input): | |
| if (UniqueArray.Find[Value] > -1) {} | |
| else: |