SupportBot 8.0

This commit is contained in:
1tzEmerald committed 2024-06-12 12:54:31 +01:00
1 parent 2c5bfe8e33
commit c95b8ccb32
30 files changed
+1426 -2293

No files matched your search

+21 -9
View File
@@ -19,23 +19,29 @@ Help:
Permission: ["SendMessages"]
Enabled: true
EnableAI:
Command: "enableai"
Description: "Talk with SupportBot"
Permission: ["SendMessages"]
Enabled: true
Info:
Command: "info"
Description: "Get information about the **ServerName**."
Permission: ["SendMessages"]
Enabled: true
TicketAdd:
Command: "add"
Description: "Add a user to a ticket."
Permission: ["SendMessages"]
Enabled: false
TicketPanel:
Command: "ticketpanel"
Description: "Create the ticket creation panel"
Permission: ["Administrator"]
Enabled: true
TicketRemove:
Command: "remove"
Description: "Remove a user from a ticket."
TicketStats:
Command: "ticketstats"
Description: "Shows staff members their ticket statistics"
Permission: ["SendMessages"]
Enabled: true
# Command is automatically disabled when the TicketClaims is disabled.
OpenTicket:
Command: "ticket"
@@ -43,6 +49,12 @@ OpenTicket:
Permission: ["SendMessages"]
Enabled: true
Add:
Command: "add"
Description: "Add a user to the ticket."
Permission: ["SendMessages"]
Enabled: true
CloseTicket:
Command: "close"
Description: "Close a support ticket"
+41 -7
View File
@@ -8,8 +8,8 @@
# Installed with MIT License
#
# Discord Support: https://dsc.gg/emerald-dev
# Official Documentation: https://emeraldsrv.dev/wiki
# Third-Party Documentation: https://emeraldsrv.dev/third-party
# Official Documentation: https://emeraldsrv.com/wiki
# Third-Party Documentation: https://emeraldsrv.com/third-party
#
# Messages Configuration
@@ -17,7 +17,7 @@ Info:
Title: "About Us"
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."
Button: "Visit Site"
URL: "https://emeraldsrv.dev"
URL: "https://emeraldsrv.com"
Colour: "#f74343"
Welcome:
@@ -40,6 +40,12 @@ Leave:
ImageEnabled: false
ImageURL: "https://animagelink.png/"
Suggestions:
Sent_Title: "Suggestion Sent!"
Sent: "> :white_check_mark: **You have successfully sent a suggestion.**"
NoSelfVote: "> :x: **You cannot vote on your own suggestion.**"
RemoveVoteButton: "Remove Vote"
Ticket:
# Available Placeholders:
@@ -48,18 +54,27 @@ Ticket:
# <@%ticketauthor%> - Tags the user who created the ticket.
# <#%ticketid%> - Mentions the ticket channel.
TicketTitle: "Server Support | %ticketusername%"
TicketAuthorTitle: "%ticketusername%'s Ticket"
TicketTitle: "Support Ticket"
TicketMessage: "> Hello <@%ticketauthor%>, Thank you for creating a support ticket\nPlease wait patiently whilst a member of our team reaches out to you."
TicketThumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
TicketCreatedAlert: "> :ticket: Ticked Created: <#%ticketid%>"
TicketExists: "> ❌ Ticket already exists"
TicketClaim: "> :white_check_mark: Ticket claimed by" #The user who claimed the ticket will be added to the end of this message
TicketUnclaim: "> :white_check_mark: Ticket unclaimed by" #The user who claimed the ticket will be added to the end of this message
DisableInvites: "> 🔒 Invites have been disabled for this ticket."
EnableInvites: "> 🔓 Invites have been enabled for this ticket."
# Available Placeholders:
# <@%user%> - Tags the user who was added to the ticket.
AddedUser: "> 👍 <@%user%> has been `Added` to the ticket"
RemovedUser: "> 👍 <@%user%> has been `Removed` from this ticket"
AddUserToTicket_Title: "➕ Add User!"
AddUserToTicket: "> To add a user to this ticket, Tag them."
RemovedUserFromTicket_Title: "➖ Removed User!"
RemovedUserFromTicket: "> <@%user%> has been `Removed` from this ticket"
Blacklisted: "> :x: You are not allowed to open a ticket"
Muted: "> :x: You are `Muted` and therefore not allowed to open any tickets"
@@ -70,9 +85,28 @@ Ticket:
TicketDeleteMessage: "⚠ **Ticket Deleting!**"
ClosingTicket: "> :warning: You have requested to close your support ticket."
ConfirmClose: "> Please confirm closing the ticket by clicking the button below."
CloseTimeout: "> Ticket close confirmation timed out."
ClaimTickets:
ClaimTitle: "Incoming Support Request!"
ClaimMessage: "> A new ticket has been created by <@!%user%>. Click the button below to claim this ticket."
ClaimMessage_Edit: "> <#%channel%> was claimed by <@!%user%>."
ClaimedTitle: "Ticket Claimed!"
Claimed: "> You have successfully claimed this ticket. <#%channel%>"
NoPermsToClaimTitle: "Error, no permissions!"
NoPermsToClaim: "> :x: **Err!** You do not permissions to claim this ticket."
TicketStats:
OpenTickets: "✅ Open Tickets"
TotalTickets: "🎫 Total Tickets"
ResponseTime: "⏱️ Average Response Time"
Title: "Your Ticket Stats"
Error:
IncorrectPerms: "> :x: **Err!** You do not have the correct permissions to use this command."
IncorrectPerms: "> :x: **Err!** You do not have the correct permissions to use this."
InvalidChannel: "> :x: **Err!** Channel not found. Please create it!"
UserNotFound: "> :x: **Err!** This user doesn't exist, Are they in this server?"
NoValidTicket: "> :warning: You cannot execute this command here."
+40
View File
@@ -0,0 +1,40 @@
# -------------------------
# SupportBot AI
#
# In order to use the SupportBot AI, You need to setup an OpenAI Account.
# this can be done at https://platform.openai.com/
# -------------------------
Enabled: true
General:
Name: "SupportBot AI"
# What would you like to call your AI
Model: "gpt-4o"
# You can see a list of OpenAI Models here: https://platform.openai.com/docs/models
Tokens: 400
# Max tokens you can set is 400
# For more information about tokens, go to https://openai.com/api/pricing/
OpenAI_Key: "OPEN_AI_APIKEY_HERE"
# To create an OpenAI API key, go to https://platform.openai.com/api-keys
PastebinAPI_Key: "PASTEBIN_API_KEY"
# You can get your Pastebin API Key from https://pastebin.com
PastebinAPI_URL: "https://pastebin.com/api/api_post.php"
Channels:
AIChannel: "1250190338954498048"
# This is the channel where AI will respond in without needing to mention the bot.
Embed:
Color: 0x0cc559 # 0x<hexcode>
Footer: "SupportBot | Developed by Emerald Development"
Messages:
MessageTooLong: "The response was too long, so I've posted it here: {pastebin}"
ErrorResponse: "I didn't receive a proper response from OpenAI. Please try again later."
OpenAIError: "I'm having some trouble talking to SupportBot AI's Model, OpenAI. Please try again later."
AIDisabled: "I am disabled, You have enable me in `supportbot-ai.yml`"
+97 -67
View File
@@ -8,10 +8,10 @@
# Installed with MIT License
#
# Discord Support: https://dsc.gg/emerald-dev
# Official Documentation: https://emeraldsrv.dev/wiki
# Third-Party Documentation: https://emeraldsrv.dev/third-party
# Official Documentation: https://github.com/Emerald-Services/SupportBot/wiki
# Third-Party Documentation: COMING SOON
SupportBot_Version: "v8.0 DEV-v1.2"
SupportBot_Version: "v8.0"
# Do not change the version number
# -------------------------
@@ -20,19 +20,20 @@ SupportBot_Version: "v8.0 DEV-v1.2"
General:
Name: "SupportBot"
Token: "BOT TOKEN"
Token: "BOT_TOKEN_HERE"
# To get your Discord Bot Token, Go to https://discord.com/developers/applications
Addons:
Enabled: false
# -------------------------
# Activity
# -------------------------
Activity:
Status: "SupportBot v8"
Type: "Watching"
# The Type can either be Playing, Watching, Listenin or Streaming.
Type: "Competing"
# The Type can either be Playing, Watching, Listening or Competing
StreamingURL: "https://www.twitch.tv/YOUR_TWITCH_NAME"
# Set The Type to "Streaming" for a streaming status!
@@ -42,10 +43,10 @@ Activity:
Embed:
Colours:
General: "#f74343"
Success: "#04b545"
Error: "#d12519"
Warn: "#fca117"
General: 0x0cc559 # 0x<hexcode>
Success: 0x04b545 # 0x<hexcode>
Error: 0xd13030 # 0x<hexcode>
Warn: 0xfca117 # 0x<hexcode>
Footer: "SupportBot | Developed by Emerald Development"
@@ -56,11 +57,11 @@ Embed:
Roles:
AutoRole:
Enabled: true
Role: "SupportBot Member"
Role: "Member"
StaffMember:
Staff: "SupportBot Staff"
Admin: "SupportBot Admin"
Staff: "Staff"
Admin: "Admin"
ModRoles:
Muted: "Muted"
@@ -72,115 +73,144 @@ Roles:
Welcome:
Enabled: true
Channel: "welcome"
Channel: "🚨┃join-leave-logs"
Leave:
Enabled: true
Channel: "leave"
Channel: "🚨┃join-leave-logs"
# ----------------------------
# Suggestions
# ----------------------------
Suggestions:
Channel: "suggestions"
Channel: "📗┃suggestions"
UpvoteEmoji: "✅"
DownvoteEmoji: "❌"
UpvoteTitle: "Yes"
DownvoteTitle: "No"
OwnSuggestion: true
# If false this will not allow the user to vote for a suggestion they created
# If true this will allow the user to vote for a suggestion they created
ShowUsers: true
Threads:
Enabled: true
Title: "Suggestion-releated Thread"
Reason: "A thread releted to this suggestion"
Buttons:
Upvote: "2"
Downvote: "2"
RemoveVote: "4"
RemoveVote_Title: "Remove Vote"
# Available Button Styles
# 1 - Blurple
# 2 - Grey
# 3 - Green
# 4 - Red
# -------------------------
# Tickets
# -------------------------
Ticket:
TicketCategory: "📗┃tickets" #Where tickets normally go with the /ticket command
# This is the channel name for the ticket threads to be created, NOT A DISCORD CATEGORY!
Channel: "ticket-" # The prefix for ticket channel names
TicketsPerUser: 2
RoleMention: "@here"
AllowMentions: true
TicketsPerUser: 100
DMTranscripts: true
# Set to true to allow the ticket to mention the author and the support team.
# Set false to dis-allow mentions within tickets.
TicketReason: true
# If ticket reason is set to false, It will not prompt to create a reason
TicketSubject: "description"
# "description" will display the ticket reason within the channel description
# "embed" will display the ticket reason within the ticket embed
AllowThanksForReachingOutMessage: true
# Set to true to allow the "Thanks for reaching out Message" to be sent when the ticket is created
Timeout: 5
AllowAllStaff: false
# Set to true to allow all staff to access the ticket
LockTicketCategory: "Archive"
Log:
TicketLog: "ticket-data"
TicketLog: "🚨┃ticket-data"
TicketLog_Title: "Ticket Closed"
DisableTicketLogChannel: false
TranscriptLog: "ticket-data"
TranscriptLog: "🚨┃ticket-data"
TranscriptTitle: "Ticket Transcript"
Close:
StaffOnly: true
# Set to false is anyone is able to close a ticket.
CloseConfirmation: true
Confirmation_Word: "confirm"
Confirmation_Button: "Confirm Close"
Title: "Are you sure you want to close this ticket?"
Invites:
StaffOnly: true
ClaimTickets:
Enabled: true
Channel: "0000000000000000000"
# Channel name or Channel ID
ButtonTitle: "Claim Ticket"
Button: "1"
# Available Button Styles
# 1 - Blurple
# 2 - Grey
# 3 - Green
# 4 - Red
# -------------------------
# Departments
# Departments - NOT IN THIS UPDATE
# -------------------------
Departments:
- title: "Support"
role: "SupportBot Staff"
color: "Secondary"
emoji: "1️⃣"
category: "Tickets"
- title: "Billing Support"
role: "SupportBot Staff"
color: "Secondary"
emoji: "2️⃣"
category: "Tickets"
- title: "Admin Team"
role: "SupportBot Admin"
color: "Secondary"
emoji: "3️⃣"
category: "Tickets"
# - title: "Other"
# role: "Staff"
# color: "Secondary"
# emoji: "3️⃣"
# category: "Tickets"
- title: "Create Ticket"
role: "Staff"
color: "2"
emoji: "🎫"
category: "TICKETS"
# -------------------------
# Buttons
# -------------------------
Buttons:
Tickets:
CloseEmoji: "❌"
CloseStyle: "Danger"
ClaimEmoji: "🧑‍💻"
ClaimStyle: "1"
DeleteEmoji: "⛔"
DeleteStyle: "Danger"
# Available Button Styles
# 1 - Blurple
# 2 - Grey
# 3 - Green
# 4 - Red
LockEmoji: "🔒"
LockStyle: "Primary"
# Available Button Styles
# Primary - Blurple
# Secondary- Grey
# Danger - Red
# Success - Green
# -------------------------
# Select Menus
# -------------------------
SelectMenus:
Tickets:
PanelEmoji: "⚙️"
CloseEmoji: "🗑️"
ArchiveEmoji: "♻️"
LockTicketEmoji: "🔒"
UnLockTicketEmoji: "🔓"
EnableInvitesEmoji: "🔒"
DisableInvitesEmoji: "🔓"
AddUserEmoji: "➕"
RemoveUserEmoji: "➖"
# -------------------------
# Misc
# -------------------------
Translate:
Log: "translations-log"
Log: "🚨┃logs"
+20 -8
View File
@@ -14,21 +14,33 @@
# Ticket Panel Configuration
# -------------------------------
TicketPanel: true
Panel: true
# ----------------------------------------
# Ticket Panel Message Configuration
# Ticket Panel Message Configuration #2b2d31
# ----------------------------------------
Channel: "create-ticket"
TicketCategory: "📗┃tickets"
# This is the channel name for the ticket threads to be created, NOT A DISCORD CATEGORY!
PanelTitle: "Need Help? Create a Support Ticket."
PanelColour: "#f74343"
PanelTitle: "SupportBot"
PanelColour: "#0cc559"
Button:
Text: "Create Ticket"
Emoji: "🎫"
Color: "2"
# Available Button Styles
# 1 - Blurple
# 2 - Grey
# 3 - Red
# 4 - Green
TicketPanel_Description: true
TicketPanel_Thumbnail: true
TicketPanel_Thumbnail: false
TicketPanel_Image: true
PanelMessage: "Click the button to open a new support ticket."
PanelMessage: "Click on the button to file a `Ticket` and our team will try their best to assist you in the best way we can!"
PanelThumbnail: "https://i.imgur.com/ieeZejl.png"
PanelImage: "https://i.imgur.com/5NkcmDq.png"
PanelImage: "https://i.imgur.com/dejQvkg.png"