any body could find a error on this const?

const: const InteractionserverDate = new Date(Interactionserver.createdTimestamp).toLocaleDateString(); const InteractionserverOwner = Interactionserver.fetchOwner();
14 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
wait The Date Is Right I mean Is const InteractionserverOwner = Interactionserver.fetchOwner(); const InteractionserverChannelAmount = Interactionserver.channels.cache.filter(channel => channel.type == 'GUILD_TEXT').size; cus if i run it it throw an error called i mean theres no error but the result like this Channels 0 Owner [object Promise] Channels Owner 0 [object Promise] how to check it? Im very New To Discord.js It Doesnt Work For Me:(
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
oh
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
do it on consolea
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
why it cannot on my console
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
but i want it to be the amount so how to do it?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
is it like ChannelType.GuildText.amount? then how it supossed to be
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Qwerty!
Qwerty!OP3y ago
btw bye
Want results from more Discord servers?
Add your server