5 files changed
+1414
-51
No files matched your search
@@ -46,25 +46,19 @@ module.exports = new Command({
|
|||||||
permissions: cmdconfig.TicketRename.Permission,
|
permissions: cmdconfig.TicketRename.Permission,
|
||||||
|
|
||||||
async run(interaction) {
|
async run(interaction) {
|
||||||
let disableCommand = true;
|
const modal = new ModalBuilder()
|
||||||
|
.setCustomId("renameTicketModal")
|
||||||
const subcommand = interaction.options.getSubcommand(false);
|
.setTitle("Rename Channel")
|
||||||
|
.addComponents(
|
||||||
if (subcommand === cmdconfig.TicketRename.Command) {
|
new ActionRowBuilder().addComponents(
|
||||||
const modal = new ModalBuilder()
|
new TextInputBuilder()
|
||||||
.setCustomId("renameTicketModal")
|
.setCustomId("renameTicket")
|
||||||
.setTitle("Rename Channel")
|
.setLabel("New Channel Name")
|
||||||
new ActionRowBuilder().addComponents(
|
.setStyle(TextInputStyle.Short)
|
||||||
new TextInputBuilder()
|
.setRequired(true)
|
||||||
.setCustomId("renameTicket")
|
)
|
||||||
.setLabel("New Channel Name")
|
);
|
||||||
.setStyle(TextInputStyle.Short)
|
|
||||||
.setRequired(true)
|
|
||||||
);
|
|
||||||
|
|
||||||
return interaction.showModal(modal);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
return interaction.showModal(modal);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
+29
-30
@@ -13,7 +13,7 @@
|
|||||||
#
|
#
|
||||||
# SupportBot Configuration (supportbot.yml)
|
# SupportBot Configuration (supportbot.yml)
|
||||||
|
|
||||||
SupportBot_Version: "v8.4.1"
|
SupportBot_Version: "v8.2"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# General
|
# General
|
||||||
@@ -21,7 +21,7 @@ SupportBot_Version: "v8.4.1"
|
|||||||
|
|
||||||
General:
|
General:
|
||||||
Name: "SupportBot"
|
Name: "SupportBot"
|
||||||
Token: "BOT_TOKEN"
|
Token: "BBOT_TOKEN_HERE"
|
||||||
|
|
||||||
Addons:
|
Addons:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
@@ -66,12 +66,12 @@ Embed:
|
|||||||
Roles:
|
Roles:
|
||||||
AutoRole:
|
AutoRole:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Role: "1111111111111111"
|
Role: "ROLE_ID"
|
||||||
|
|
||||||
StaffMember:
|
StaffMember:
|
||||||
Staff: "1111111111111111"
|
Staff: "ROLE_ID"
|
||||||
Admin: "1111111111111111"
|
Admin: "ROLE_ID"
|
||||||
Moderator: "1111111111111111"
|
Moderator: "ROLE_ID"
|
||||||
|
|
||||||
Mod:
|
Mod:
|
||||||
AllowSupportStaff: false
|
AllowSupportStaff: false
|
||||||
@@ -84,11 +84,11 @@ Roles:
|
|||||||
|
|
||||||
Welcome:
|
Welcome:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Channel: "1111111111111111"
|
Channel: "WELCOME_CHANNEL_ID"
|
||||||
|
|
||||||
Leave:
|
Leave:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Channel: "1111111111111111"
|
Channel: "LEAVE_CHANNEL_ID "
|
||||||
|
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
# Suggestions
|
# Suggestions
|
||||||
@@ -96,8 +96,8 @@ Leave:
|
|||||||
|
|
||||||
Suggestions:
|
Suggestions:
|
||||||
Mode: "Channel" # Channel or Forum
|
Mode: "Channel" # Channel or Forum
|
||||||
ForumChannel: "1111111111111111"
|
ForumChannel: "FORUM_CHANNEL_ID" # A forum channel, disabled if mode is set to Channel.
|
||||||
Channel: "1111111111111111"
|
Channel: "SUGGESTIONS_CHANNEL_ID" # A text channel, disabled if mode is set to Forum.
|
||||||
|
|
||||||
UpvoteEmoji: "✅"
|
UpvoteEmoji: "✅"
|
||||||
DownvoteEmoji: "❌"
|
DownvoteEmoji: "❌"
|
||||||
@@ -130,10 +130,10 @@ Suggestions:
|
|||||||
# 4 - Red
|
# 4 - Red
|
||||||
|
|
||||||
Tags:
|
Tags:
|
||||||
Created: "1111111111111111"
|
Created: "TAG_ID"
|
||||||
Considering: "1111111111111111"
|
Considering: "TAG_ID"
|
||||||
Solved: "1111111111111111"
|
Solved: "TAG_ID"
|
||||||
Denied: "1111111111111111"
|
Denied: "TAG_ID"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Tickets
|
# Tickets
|
||||||
@@ -141,25 +141,25 @@ Suggestions:
|
|||||||
|
|
||||||
VoiceTickets:
|
VoiceTickets:
|
||||||
Name: "%username%'s VC"
|
Name: "%username%'s VC"
|
||||||
Category: "1111111111111111"
|
Category: "VC_CATEGORY_ID"
|
||||||
|
|
||||||
Ticket:
|
Ticket:
|
||||||
TicketType: "threads"
|
TicketType: "channels"
|
||||||
|
|
||||||
# Available TicketTypes:
|
# Available TicketTypes:
|
||||||
# channels - Tickets will be created as channels in the TicketChannelsCategory
|
# channels - Tickets will be created as channels in the TicketChannelsCategory
|
||||||
# threads - Tickets will be created as threads through the "TicketHome" channel.
|
# threads - Tickets will be created as threads through the "TicketHome" channel.
|
||||||
|
|
||||||
TicketHome: "1111111111111111"
|
TicketHome: "TICKET_HOME_CHANNEL_ID"
|
||||||
|
|
||||||
# What is TicketHome?
|
# What is TicketHome?
|
||||||
# - Channel where the Ticket creation panel is sent.
|
# - Channel where the Ticket creation panel is sent.
|
||||||
# - Channel where ticket threads are made. (only if ticket threads is enabled above.)
|
# - Channel where ticket threads are made. (only if ticket threads is enabled above.)
|
||||||
|
|
||||||
# For TicketType: channels
|
# For TicketType: channels
|
||||||
TicketChannelsCategory: "1111111111111111"
|
TicketChannelsCategory: "TICKET_CHANNELS_CATEGORY_ID"
|
||||||
TicketChannelsCategory2: "1111111111111111" # This will be used if the first category has reached the max channel limit.
|
TicketChannelsCategory2: "TICKET_CHANNELS_CATEGORY_ID_2" # This will be used if the first category has reached the max channel limit.
|
||||||
TicketArchiveCategory: "1111111111111111"
|
TicketArchiveCategory: "TICKET_ARCHIVE_CATEGORY_ID"
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
Channel: "ticket-" # The prefix for ticket channel names
|
Channel: "ticket-" # The prefix for ticket channel names
|
||||||
@@ -197,8 +197,8 @@ Ticket:
|
|||||||
StaffOnly: true
|
StaffOnly: true
|
||||||
|
|
||||||
ClaimTickets:
|
ClaimTickets:
|
||||||
Enabled: true
|
Enabled: false
|
||||||
Channel: "1111111111111111"
|
Channel: "CLAIM_TICKETS_CHANNEL_ID"
|
||||||
# Channel where the ticket assignments are sent for staff to claim.
|
# Channel where the ticket assignments are sent for staff to claim.
|
||||||
|
|
||||||
ClaimAcceptTime: 120000
|
ClaimAcceptTime: 120000
|
||||||
@@ -220,8 +220,8 @@ Ticket:
|
|||||||
# 4 - Red
|
# 4 - Red
|
||||||
|
|
||||||
ReviewSystem:
|
ReviewSystem:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
Channel: "1111111111111111"
|
Channel: "REVIEW_CHANNEL_ID"
|
||||||
UseModal: true
|
UseModal: true
|
||||||
|
|
||||||
Questions:
|
Questions:
|
||||||
@@ -232,9 +232,9 @@ Ticket:
|
|||||||
- "Have you tried resolving the issue yourself?"
|
- "Have you tried resolving the issue yourself?"
|
||||||
|
|
||||||
Log:
|
Log:
|
||||||
TicketDataLog: "1111111111111111"
|
TicketDataLog: "TICKKET_DATA_LOG_CHANNEL_ID"
|
||||||
TickeDataTitle: "Ticket Data"
|
TickeDataTitle: "Ticket Data"
|
||||||
TicketBlacklistLog: "1111111111111111"
|
TicketBlacklistLog: "TICKET_BLACKLIST_LOG_CHANNEL_ID"
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Buttons
|
# Buttons
|
||||||
@@ -258,7 +258,6 @@ Buttons:
|
|||||||
Unlock: "Unlock Ticket"
|
Unlock: "Unlock Ticket"
|
||||||
Unlock_Emoji: "🔓"
|
Unlock_Emoji: "🔓"
|
||||||
Unlock_Style: "2"
|
Unlock_Style: "2"
|
||||||
|
|
||||||
# Available Button Styles
|
# Available Button Styles
|
||||||
# 1 - Blurple
|
# 1 - Blurple
|
||||||
# 2 - Grey
|
# 2 - Grey
|
||||||
@@ -287,12 +286,12 @@ SelectMenus:
|
|||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
MessageDelete:
|
MessageDelete:
|
||||||
Channel: "1111111111111111"
|
Channel: "LOG_CHANNEL_ID"
|
||||||
Colour: "#d92525"
|
Colour: "#d92525"
|
||||||
|
|
||||||
MessageUpdate:
|
MessageUpdate:
|
||||||
Channel: "1111111111111111"
|
Channel: "LOG_CHANNEL_ID"
|
||||||
Colour: "#f2a024"
|
Colour: "#f2a024"
|
||||||
|
|
||||||
Translate:
|
Translate:
|
||||||
TranslateLog: "1111111111111111"
|
TranslateLog: "LOG_CHANNEL_ID"
|
||||||
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2025 Emerald Services
|
Copyright (c) 2026 Emerald Services
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
Generated
+1370
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user