mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 02:01:26 +03:00
Ticket creation rate limiting + fixes
This commit is contained in:
@@ -58,11 +58,14 @@ module.exports.post = fastify => ({
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(settings.primaryColour)
|
||||
.setTitle(data.title)
|
||||
.setFooter({
|
||||
.setTitle(data.title);
|
||||
|
||||
if (settings.footer) {
|
||||
embed.setFooter({
|
||||
iconURL: guild.iconURL(),
|
||||
text: settings.footer,
|
||||
});
|
||||
}
|
||||
|
||||
if (data.description) embed.setDescription(data.description);
|
||||
if (data.image) embed.setImage(data.image);
|
||||
|
Reference in New Issue
Block a user