mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
Fix Hydra's ESLint failure
This commit is contained in:
parent
91a7d4f80e
commit
a5a269b940
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue