mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Fix Hydra's ESLint failure
This commit is contained in:
@@ -11,7 +11,8 @@ class TypingStartHandler extends AbstractHandler {
|
|||||||
|
|
||||||
if (channel && user) {
|
if (channel && user) {
|
||||||
if (channel.type === 'voice') {
|
if (channel.type === 'voice') {
|
||||||
return client.emit('warn', `Discord sent a typing packet to voice channel ${channel.id}`);
|
client.emit('warn', `Discord sent a typing packet to voice channel ${channel.id}`);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (channel._typing.has(user.id)) {
|
if (channel._typing.has(user.id)) {
|
||||||
const typing = channel._typing.get(user.id);
|
const typing = channel._typing.get(user.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user