I have this line of code,
ticketsEmbedMessageId = statistic?.id;
, that's not working. It's saying, "Property 'id' does not exist on type 'Promise<Message<true>>'.
You're trying to access id on an object that doesn't contain it." It's also asking me if I forgot to use 'await,' but there is no 'async' in the entire file.
How do I fix this? Thanks.