-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
About the Error
I'm getting an error in the voiceStateUpdate event that I don't understand. There does not seem to be a problem with the function every time the event is triggered, but the error text comes to the console.
Code
module.exports = [{
name: "voiceStateUpdate",
type: "voiceStateUpdate",
channel: "somechannelID",
$if: "old",
code: `
$if[$authorID!=$clientID]
$if[$newState[deaf]==$oldState[deaf]]
$if[$newState[mute]==$oldState[mute]]
$if[$voiceID[$clientID]!=]
$setUserVar[lastConnectedVoiceChannel;$voiceID[$authorID]]
$title[1;<:valentine_account_voice:1243984171399905301> Sesli Kanala Bağlantı Kuruldu]
$description[1;<@$authorID> **$userTag[$authorID]** bir sesli kanala katıldı.]
$addField[1;Bağlandığı Kanal;<#$voiceID[$authorID]> — $channelName[$voiceID[$authorID]]]
$addTimestamp
$color[1;$getGuildVar[color]]
$else
$title[1;<:valentine_account_voice_off:1243984151036690492> Sesli Kanaldan Bağlantısı Sonlandı]
$description[1;<@$authorID> **$userTag[$authorID]** bir sesli kanaldan ayrıldı.]
$addField[1;Ayrıldığı Kanal;<#$getUserVar[lastConnectedVoiceChannel]> — $channelName[$getUserVar[lastConnectedVoiceChannel]]]
$addTimestamp
$color[1;$getGuildVar[color]]
$endif
$endif
$endif
$endif
`
}];*There are characters that are not in the English language. Just Turkish language.
*The channel parameter was filled in as an example.
The First Warning from the Console
node:15512) Warning: Closing file descriptor 25 on garbage collection
(node:15512) [DEP0137] DeprecationWarning: Closing a FileHandle object on garbage collection is
deprecated. Please close FileHandle objects explicitly using FileHandle.prototype.close(). In the future, an error will be thrown if a file descriptor is closed during garbage collection.
(node:15512) Warning: Closing file descriptor 26 on garbage collectionThe Warning That Comes Every Time the Event Is Triggered
Metadata
Metadata
Assignees
Labels
No labels