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);
|
||||
if (!channel) {
|
||||
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
|
||||
# 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
|
||||
|
||||
|
||||
PastebinAPI_Key: "PASTEBIN"
|
||||
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"
|
||||
AIChannel: "0000000000000000000"
|
||||
# This is the channel where AI will respond in without needing to mention the bot.
|
||||
|
||||
Embed:
|
||||
|
||||
@@ -20,7 +20,7 @@ SupportBot_Version: "v8.0"
|
||||
|
||||
General:
|
||||
Name: "SupportBot"
|
||||
Token: "BOT_TOKEN"
|
||||
Token: "BOT_TOKEN_HERE"
|
||||
# To get your Discord Bot Token, Go to https://discord.com/developers/applications
|
||||
|
||||
Addons:
|
||||
|
||||
@@ -20,6 +20,9 @@ Panel: true
|
||||
# Ticket Panel Message Configuration #2b2d31
|
||||
# ----------------------------------------
|
||||
|
||||
Channel: "📗┃tickets"
|
||||
# The channel used to create the ticket panel, Use command /ticketpanel to generate it.
|
||||
|
||||
PanelTitle: "SupportBot"
|
||||
PanelColour: "#0cc559"
|
||||
|
||||
|
||||
Reference in new issue
Block a user