mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
More rewrites
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";
|
||||
|
||||
var Equality = require("../Util/Equality.js");
|
||||
|
||||
class Channel extends Equality{
|
||||
|
||||
constructor(data, client){
|
||||
super();
|
||||
this.type = data.type || "text";
|
||||
this.id = data.id;
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Channel;
|
||||
Reference in New Issue
Block a user