BetterDiscordApp-v2/core/index.js

23 lines
406 B
JavaScript
Raw Normal View History

2018-01-10 17:02:29 +01:00
class BetterDiscord {
constructor() {}
async asyncTest() {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve("asyncTest!");
}, 3000);
});
}
async asyncTest2() {
const at = await this.asyncTest();
console.log(at);
console.log("Finished!");
}
}
module.exports = {
BetterDiscord
};