mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Remove lastMessageID from voiceChannel
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -50,11 +50,6 @@ class GuildChannel extends Channel {
|
|||||||
* @type {String}
|
* @type {String}
|
||||||
*/
|
*/
|
||||||
this.name = data.name;
|
this.name = data.name;
|
||||||
/**
|
|
||||||
* The ID of the last message in the channel, if one was sent.
|
|
||||||
* @type {?String}
|
|
||||||
*/
|
|
||||||
this.lastMessageID = data.last_message_id;
|
|
||||||
this.ow = data.permission_overwrites;
|
this.ow = data.permission_overwrites;
|
||||||
/**
|
/**
|
||||||
* A map of permission overwrites in this channel for roles and users.
|
* A map of permission overwrites in this channel for roles and users.
|
||||||
|
|||||||
@@ -13,6 +13,15 @@ class TextChannel extends GuildChannel {
|
|||||||
this.messages = new Map();
|
this.messages = new Map();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setup(data) {
|
||||||
|
super.setup(data);
|
||||||
|
/**
|
||||||
|
* The ID of the last message in the channel, if one was sent.
|
||||||
|
* @type {?String}
|
||||||
|
*/
|
||||||
|
this.lastMessageID = data.last_message_id;
|
||||||
|
}
|
||||||
|
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user