mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
initial
This commit is contained in:
16
src/structures/Channel.js
Normal file
16
src/structures/Channel.js
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
class Channel {
|
||||
constructor(client, data) {
|
||||
this.client = client;
|
||||
if (data) {
|
||||
this.setup(data);
|
||||
}
|
||||
}
|
||||
|
||||
setup(data) {
|
||||
this.id = data.id;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Channel;
|
||||
Reference in New Issue
Block a user