setEmbedResponse
Sends an embedded message to the current channel.
Syntax
setEmbedResponse(title, description, footer)
Parameters
title
: Adds a title to the embed.description
: Adds a description to the embed.footer
: Adds a footer to the embed.
📌 All parameters are optional.
Permissions
Required permissions which the bot must have for this function to work properly:
embedlinks
sendmessages
sendmessagesinthreads
readmessages
Example
const date = new Date().toDateString();
setEmbedResponse('Hey' , 'This is an Embed!', 'Executed in ' + date);