mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
2.6.7 - update to support an apparently new discord api change
This commit is contained in:
@@ -7,7 +7,7 @@ New update features **big speed boosts** (everything cached and sorted with arou
|
||||
|
||||
**[For more information, click here.](https://github.com/hydrabolt/discord.js/wiki)**
|
||||
|
||||
### This module is still in alpha!
|
||||
### This module is still in alpha - especially the newer versions!
|
||||
|
||||
This node module is still in alpha, and some methods and functions may change or completely disappear!
|
||||
|
||||
|
||||
2
index.js
2
index.js
@@ -786,7 +786,7 @@ exports.Client.prototype.sendMessage = function( destination, toSend, callback,
|
||||
if ( err ) {
|
||||
callback( err );
|
||||
} else {
|
||||
self.PMList.add( new PMChannel( channel.recipient, channel.id ) );
|
||||
self.PMList.add( new PMChannel( channel.user, channel.id ) );
|
||||
setChannId( channel.id );
|
||||
send();
|
||||
}
|
||||
|
||||
@@ -156,6 +156,7 @@ exports.List.prototype.concatSublists = function( whereList, discriminator ) {
|
||||
exports.List.prototype.filter = function( key, value, onlyOne, caseInsen ) {
|
||||
|
||||
var results = [];
|
||||
|
||||
value = change( value );
|
||||
|
||||
for ( index in this.contents ) {
|
||||
@@ -196,9 +197,10 @@ exports.List.prototype.getValues = function( key ){
|
||||
|
||||
}
|
||||
|
||||
exports.List.prototype.deepFilter = function( keys, value, onlyOne ) {
|
||||
exports.List.prototype.deepFilter = function( keys, value, onlyOne, caseInsen ) {
|
||||
|
||||
var results = [];
|
||||
|
||||
value = change( value );
|
||||
|
||||
for ( index in this.contents ) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "discord.js",
|
||||
"version": "2.6.6",
|
||||
"version": "2.6.7",
|
||||
"description": "A way to interface with the Discord API",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user