mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Remove lastMessageID from voiceChannel
This commit is contained in:
parent
6ad970e311
commit
59cc02de89
3 changed files with 10 additions and 6 deletions
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue