diff --git a/src/index.ts b/src/index.ts index f605b8b..96fe2bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,9 +40,9 @@ export default class TNC extends EventEmitter { socket.on("ready", (data) => { this.emit("ready", data); }); - socket.on("DISCORD_VERIFICATION", (data) => { + socket.on("discord_verification", (data) => { let d = JSON.parse(JSON.stringify(data)); - this.emit("DISCORD_VERIFICATION", d.id); + this.emit("discord_verification", d.id); }); } } \ No newline at end of file