Typescript Continue

This commit is contained in:
Christer Warén
2023-06-06 01:39:35 +03:00
parent 7acabe411b
commit 2d17c33d21
32 changed files with 233 additions and 149 deletions

View File

@ -13,7 +13,7 @@ export default {
const radio = client.radio?.get(newState.guild.id);
if (!radio) return;
if (newState.member?.id === client.user.id && oldState.member?.id === client.user.id) {
if (newState.member?.id === client.user?.id && oldState.member?.id === client.user?.id) {
if (newState.channel === null) {
client.statistics?.update(client, newState.guild, radio);