Merge pull request #123 from SypherRed/release

embed fix and updates
This commit is contained in:
Xiled Emerald authored and GitHub committed 2022-06-22 23:05:25 +01:00
commit 1fc94528fc
9 files changed
+236 -6022

No files matched your search

+2 -1
View File
@@ -1 +1,2 @@
node_modules/
node_modules/
.DS_Store
+2 -8
View File
@@ -22,42 +22,36 @@ module.exports = new Command({
type: "STRING",
required: true,
},
{
name: "message",
description: "Embed Message",
type: "STRING",
required: true,
},
{
name: "color",
description: "Embed HEX Color",
type: "STRING",
required: false,
},
{
name: "fieldtitle",
description: "Add an additional Embed Field",
type: "STRING",
required: false,
},
{
name: "fieldcontent",
description: "Add an additional Embed Field",
type: "STRING",
required: false,
},
{
name: "thumbnail",
description: "Embed Thumbnail URL",
type: "STRING",
required: false,
},
{
name: "image",
description: "Embed Image URL",
@@ -98,10 +92,10 @@ module.exports = new Command({
const EmbedMsg = new Discord.MessageEmbed()
.setTitle(EmbedTitle)
.setDescription(EmbedSubject)
.addField(EmbedFieldTitle, EmbedFieldContent)
.setColor(EmbedColour)
.setThumbnail(EmbedThumbnail)
.setImage(EmbedImage);
.setImage(EmbedImage)
if (EmbedFieldTitle && EmbedFieldContent) { EmbedMsg.addField(EmbedFieldTitle, EmbedFieldContent) };
interaction.reply({
embeds: [EmbedMsg],
+1 -1
View File
@@ -1,5 +1,5 @@
// SupportBot | Emerald Services
// Ping Command
// Suggest Command
const fs = require("fs");
+1 -1
View File
@@ -1,5 +1,5 @@
// SupportBot | Emerald Services
// Ticket Add Command
// Translate Command
const fs = require("fs");
-1
View File
@@ -47,7 +47,6 @@ WarningColour: "#fca117"
# -------------------------
InfoTitle: "Information"
AboutMe: "Hi, I'm SupportBot an advanced discord ticket bot with 100% customization! [Download](https://emeraldsrv.dev/download)"
InfoButtonText: "Visit Site"
InfoURL: "https://emeraldsrv.dev"
+1 -1
View File
@@ -20,7 +20,7 @@ TicketPanel: true
# Ticket Panel Message Configuration
# ----------------------------------------
Channel: "▣┃ticket-creation"
Channel: "ticket-creation"
ButtonEmoji: "📩"
ButtonLabel: "Create Ticket"
ButtonColour: "SUCCESS"
+141 -4341
View File
File diff suppressed because it is too large. Load diff
+2 -4
View File
@@ -1,6 +1,6 @@
{
"name": "supportbot",
"version": "7.4.2",
"version": "7.7b",
"description": "SupportBot is an open-sourced support system for discord. It's completely free to use with high amounts of customization to match your own brand.",
"main": "index.js",
"scripts": {
@@ -21,8 +21,6 @@
"@vitalets/google-translate-api": "^8.0.0",
"discord.js": "^13.6.0",
"js-yaml": "^4.1.0",
"moment": "^2.29.3",
"translate": "^1.4.1",
"twitter": "^1.7.1"
"moment": "^2.29.3"
}
}
+86 -1664
View File
File diff suppressed because it is too large. Load diff