Use import/export since we are using babel, removed unused imports

This commit is contained in:
Simon Schick
2015-11-28 17:57:22 +01:00
parent 47b6f6cadd
commit faa744b1e3
25 changed files with 151 additions and 185 deletions

View File

@@ -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;