8.0.1 Bug Fix
This commit is contained in:
1 parent
dcbddf9f23
commit
8d8d9e4bee
4 files changed
+8
-5
No files matched your search
@@ -35,7 +35,7 @@ module.exports = new Command({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const channelName = panelconfig.TicketCategory;
|
const channelName = panelconfig.Channel;
|
||||||
const channel = interaction.guild.channels.cache.find(ch => ch.name === channelName);
|
const channel = interaction.guild.channels.cache.find(ch => ch.name === channelName);
|
||||||
if (!channel) {
|
if (!channel) {
|
||||||
console.log(`[TICKET PANEL] ${channelName} channel not found. Please check your config file.`);
|
console.log(`[TICKET PANEL] ${channelName} channel not found. Please check your config file.`);
|
||||||
|
|||||||
@@ -17,16 +17,16 @@ General:
|
|||||||
# Max tokens you can set is 400
|
# Max tokens you can set is 400
|
||||||
# For more information about tokens, go to https://openai.com/api/pricing/
|
# For more information about tokens, go to https://openai.com/api/pricing/
|
||||||
|
|
||||||
OpenAI_Key: "OPEN_AI_KEY_HERE"
|
OpenAI_Key: "OPEN_AI_API_KEY"
|
||||||
# To create an OpenAI API key, go to https://platform.openai.com/api-keys
|
# To create an OpenAI API key, go to https://platform.openai.com/api-keys
|
||||||
|
|
||||||
|
|
||||||
PastebinAPI_Key: "PASTEBIN"
|
PastebinAPI_Key: "PASTEBIN_API_KEY"
|
||||||
# You can get your Pastebin API Key from https://pastebin.com
|
# You can get your Pastebin API Key from https://pastebin.com
|
||||||
PastebinAPI_URL: "https://pastebin.com/api/api_post.php"
|
PastebinAPI_URL: "https://pastebin.com/api/api_post.php"
|
||||||
|
|
||||||
Channels:
|
Channels:
|
||||||
AIChannel: "1250190338954498048"
|
AIChannel: "0000000000000000000"
|
||||||
# This is the channel where AI will respond in without needing to mention the bot.
|
# This is the channel where AI will respond in without needing to mention the bot.
|
||||||
|
|
||||||
Embed:
|
Embed:
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ SupportBot_Version: "v8.0"
|
|||||||
|
|
||||||
General:
|
General:
|
||||||
Name: "SupportBot"
|
Name: "SupportBot"
|
||||||
Token: "BOT_TOKEN"
|
Token: "BOT_TOKEN_HERE"
|
||||||
# To get your Discord Bot Token, Go to https://discord.com/developers/applications
|
# To get your Discord Bot Token, Go to https://discord.com/developers/applications
|
||||||
|
|
||||||
Addons:
|
Addons:
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ Panel: true
|
|||||||
# Ticket Panel Message Configuration #2b2d31
|
# Ticket Panel Message Configuration #2b2d31
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
|
|
||||||
|
Channel: "📗┃tickets"
|
||||||
|
# The channel used to create the ticket panel, Use command /ticketpanel to generate it.
|
||||||
|
|
||||||
PanelTitle: "SupportBot"
|
PanelTitle: "SupportBot"
|
||||||
PanelColour: "#0cc559"
|
PanelColour: "#0cc559"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user