DinographicPixels / TouchGuild

TouchGuild is a NodeJS library for interfacing with Guilded.
https://touchguild.com
MIT License
10 stars 6 forks source link

messageDelete event: cannot get message.content after deletion. #10

Closed pakkographic closed 2 years ago

pakkographic commented 2 years ago
client.on('messageDelete', (message)=> {
    console.log(message.content) // outputs empty string
})
pakkographic commented 2 years ago

Guilded API doesn't provide those information, so it'll be cached when message sent (client needs to be connected to the API to cache).

Stay tuned, this feature will be added to the nightly build soon.

pakkographic commented 2 years ago

Patch is available on Nightly builds.