change event name

This commit is contained in:
KillerBossOriginal 2023-12-05 19:20:43 +01:00
parent 8afebef973
commit e5bd9dc022

View file

@ -40,9 +40,9 @@ export default class TNC extends EventEmitter {
socket.on("ready", (data) => { socket.on("ready", (data) => {
this.emit("ready", data); this.emit("ready", data);
}); });
socket.on("DISCORD_VERIFICATION", (data) => { socket.on("discord_verification", (data) => {
let d = JSON.parse(JSON.stringify(data)); let d = JSON.parse(JSON.stringify(data));
this.emit("DISCORD_VERIFICATION", d.id); this.emit("discord_verification", d.id);
}); });
} }
} }