Alexandre
Alexandre
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
I install it like that and it work
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
oh thxx for this information
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
thx a lot
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
okkeyy it work
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
in save-dev ?
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/6/2023 in #sapphire-support
build error
13 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/4/2023 in #sapphire-support
PaginatedMessage autodelete
thx
9 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/4/2023 in #sapphire-support
PaginatedMessage autodelete
thx
9 replies
SIASapphire - Imagine a framework
Created by Alexandre on 1/4/2023 in #sapphire-support
PaginatedMessage autodelete
okkkey
9 replies
SIASapphire - Imagine a framework
Created by bomi on 12/9/2022 in #discordjs-support
Fetch membercount?
Thxxx
8 replies
SIASapphire - Imagine a framework
Created by bomi on 12/9/2022 in #discordjs-support
Fetch membercount?
Oh okey
8 replies
SIASapphire - Imagine a framework
Created by Alexandre on 12/10/2022 in #sapphire-support
Error when using plugin-i18next
Nice 😉💪, you're too good
15 replies
SIASapphire - Imagine a framework
Created by GattoDev on 12/11/2022 in #sapphire-support
How do i delete a slash command?
it just amazing
101 replies
SIASapphire - Imagine a framework
Created by informed on 12/1/2022 in #discordjs-support
Help
my test was
const EventEmitter = require("events");
const emitter = new EventEmitter();

let amount = 0;

emitter.on(
"test",
() =>
new Promise((resolve, reject) => {
const number = ++amount;
console.log(`Called number ${number}`);
setTimeout(() => {
console.log(`Resolved after one second number ${number}`);
resolve();
}, 1000);
})
);

emitter.emit("test");
emitter.emit("test");

console.log("I'm not waiting for the promises to resolve");
const EventEmitter = require("events");
const emitter = new EventEmitter();

let amount = 0;

emitter.on(
"test",
() =>
new Promise((resolve, reject) => {
const number = ++amount;
console.log(`Called number ${number}`);
setTimeout(() => {
console.log(`Resolved after one second number ${number}`);
resolve();
}, 1000);
})
);

emitter.emit("test");
emitter.emit("test");

console.log("I'm not waiting for the promises to resolve");
58 replies