mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: e216fc7a81
This commit is contained in:
parent
9e1dface50
commit
d8e6b97d06
2 changed files with 5 additions and 3 deletions
|
|
@ -3248,7 +3248,7 @@ class TextBasedChannel {
|
|||
count: count || 1,
|
||||
interval: this.client.setInterval(() => {
|
||||
this.client.rest.methods.sendTyping(this.id);
|
||||
}, 4000),
|
||||
}, 9000),
|
||||
});
|
||||
this.client.rest.methods.sendTyping(this.id);
|
||||
} else {
|
||||
|
|
@ -21290,6 +21290,8 @@ class GuildDeleteAction extends Action {
|
|||
|
||||
let guild = client.guilds.get(data.id);
|
||||
if (guild) {
|
||||
for (const channel of guild.channels.values()) channel.stopTyping(true);
|
||||
|
||||
if (guild.available && data.unavailable) {
|
||||
// guild is unavailable
|
||||
guild.available = false;
|
||||
|
|
|
|||
4
discord.master.min.js
vendored
4
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue