Skip to content

Commit a90fa1b

Browse files
committed
fix bug
1 parent ef08c2a commit a90fa1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/channels/channelVoiceJoin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function route(req: Request, res: Response) {
3838
return;
3939
}
4040

41-
if (!req.userCache.account?.emailConfirmed) {
41+
if (!req.userCache.bot && !req.userCache.account?.emailConfirmed) {
4242
return res.status(400).json(generateError('You must confirm your email to join voice.'));
4343
}
4444

0 commit comments

Comments
 (0)