mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +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}
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
* A map of permission overwrites in this channel for roles and users.
|
||||
|
||||
@@ -13,6 +13,15 @@ class TextChannel extends GuildChannel {
|
||||
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() {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user