mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Use import/export since we are using babel, removed unused imports
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
var Server = require("./Server.js");
|
||||
var ServerChannel = require("./ServerChannel.js");
|
||||
|
||||
class Invite{
|
||||
export default class Invite {
|
||||
constructor(data, chan, client){
|
||||
this.maxAge = data.max_age;
|
||||
this.code = data.code;
|
||||
@@ -22,5 +19,3 @@ class Invite{
|
||||
return `https://discord.gg/${this.code}`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Invite;
|
||||
Reference in New Issue
Block a user