From c7c4f16acdde6077f66e0df98c473e08033a4869 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 15:54:39 +0530 Subject: [PATCH 01/12] Update bot.js --- src/config/bot.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/bot.js b/src/config/bot.js index 989657a1b..76bdfec2c 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -11,7 +11,7 @@ export const botConfig = { // - "invisible" = appears offline presence: { // Current online state shown on Discord. - status: "online", + status: "dnd", // Activity lines shown under the bot name. // `type` number mapping from Discord: @@ -24,9 +24,9 @@ export const botConfig = { activities: [ { // Text users will see (example: "Playing /help | Titan Bot"). - name: "Made with ❀️", + name: "For TRE Community", // Activity type number (0 = Playing). - type: 0, + type: 2, }, ], }, @@ -91,7 +91,7 @@ export const botConfig = { embeds: { colors: { // Main brand colors. - primary: "#336699", + primary: "#FF0000", secondary: "#2F3136", // Standard status colors for success/error/warning/info messages. @@ -539,4 +539,4 @@ export function getRandomColor() { return colors[Math.floor(Math.random() * colors.length)]; } -export default botConfig; \ No newline at end of file +export default botConfig; From de4948a3ef972bfee9e5f54d89ab7db7fa11bcac Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 15:55:40 +0530 Subject: [PATCH 02/12] Update bot.js --- src/config/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/bot.js b/src/config/bot.js index 76bdfec2c..32627295e 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -24,7 +24,7 @@ export const botConfig = { activities: [ { // Text users will see (example: "Playing /help | Titan Bot"). - name: "For TRE Community", + name: "TRE Community", // Activity type number (0 = Playing). type: 2, }, From ac226f21911766b90ba73b17e1c56d66d283c0a9 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 16:41:53 +0530 Subject: [PATCH 03/12] Change guildId to null in application configuration Set guildId to null instead of using environment variable. --- src/config/application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/application.js b/src/config/application.js index 9e058bc3a..e9cab1e16 100644 --- a/src/config/application.js +++ b/src/config/application.js @@ -22,7 +22,7 @@ const appConfig = { ...botConfig, token: process.env.DISCORD_TOKEN || process.env.TOKEN, clientId: process.env.CLIENT_ID, - guildId: process.env.GUILD_ID, + guildId: null,, multiGuild: process.env.MULTI_GUILD === 'true', shop: { @@ -106,4 +106,4 @@ const appConfig = { Object.freeze(appConfig); -export default appConfig; \ No newline at end of file +export default appConfig; From 985d0b303dd1c2f0dd4dd7f8612a0cbe8107486a Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 16:43:06 +0530 Subject: [PATCH 04/12] Update application.js From 04dc681e7db78cf47c8d8f5e25e512caf3856ce0 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 16:45:43 +0530 Subject: [PATCH 05/12] Update application.js --- src/config/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/application.js b/src/config/application.js index e9cab1e16..41371ddd0 100644 --- a/src/config/application.js +++ b/src/config/application.js @@ -22,7 +22,7 @@ const appConfig = { ...botConfig, token: process.env.DISCORD_TOKEN || process.env.TOKEN, clientId: process.env.CLIENT_ID, - guildId: null,, + guildId: null , multiGuild: process.env.MULTI_GUILD === 'true', shop: { From d0e50e4d0636d51287ffb8e9252c857afa91fe95 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:07:53 +0530 Subject: [PATCH 06/12] Enable multi-guild mode: Set testGuildId to null for all-server functionality --- src/config/bot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/bot.js b/src/config/bot.js index 32627295e..87941f5b2 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -46,7 +46,8 @@ export const botConfig = { deleteCommands: false, // Optional server ID used for testing slash commands quickly. - testGuildId: process.env.TEST_GUILD_ID, + // Set to null to work on all servers + testGuildId: null, // Command prefix for text-based commands (e.g., "!" for "!ping"). // Supports both slash commands and prefix commands. From 5bdb20afcbf927c82547ac9cca67d220cf7a73c3 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:18:02 +0530 Subject: [PATCH 07/12] Enable multi-guild mode by default for all-server functionality --- .env.example | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 780d991fc..4511438c3 100644 --- a/.env.example +++ b/.env.example @@ -3,12 +3,15 @@ # Discord Bot Configuration DISCORD_TOKEN=your_discord_bot_token_here CLIENT_ID=your_discord_client_id_here -GUILD_ID=your_discord_guild_id_here +# GUILD_ID is optional - only needed for single-server development +# Leave blank or comment out for multi-server mode +GUILD_ID= OWNER_IDS=your_discord_id_here (optional) -# Optional β€” enable slash commands in every server the bot is invited to. -# Leave unset or false for single-server setup (recommended for most users). -MULTI_GUILD=false +# Multi-Guild Mode (enabled by default for all-server functionality) +# Set to true to allow the bot to work on all servers it's invited to +# Set to false and provide GUILD_ID above for single-server development only +MULTI_GUILD=true # Bot Runtime Configuration NODE_ENV=production From 731e4f860c57fd97ec36e3107a87b2810a0b054e Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:20:18 +0530 Subject: [PATCH 08/12] Fix multi-guild mode: Properly set guildId to null when MULTI_GUILD=true --- src/config/application.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config/application.js b/src/config/application.js index 41371ddd0..c259e9998 100644 --- a/src/config/application.js +++ b/src/config/application.js @@ -22,7 +22,9 @@ const appConfig = { ...botConfig, token: process.env.DISCORD_TOKEN || process.env.TOKEN, clientId: process.env.CLIENT_ID, - guildId: null , + // Multi-guild mode: if MULTI_GUILD=true, guildId is null (global commands) + // Otherwise use GUILD_ID for single-server mode + guildId: process.env.MULTI_GUILD === 'true' ? null : (process.env.GUILD_ID || null), multiGuild: process.env.MULTI_GUILD === 'true', shop: { @@ -92,7 +94,7 @@ const appConfig = { voice: true, search: true, tools: true, - utility: true, + utility: true, community: true, fun: true, From 0e45b9f46c840f19072bb5a0b844bf96f711a833 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:40:46 +0530 Subject: [PATCH 09/12] Update bot.js --- src/config/bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/bot.js b/src/config/bot.js index 87941f5b2..09b9a369a 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -11,7 +11,7 @@ export const botConfig = { // - "invisible" = appears offline presence: { // Current online state shown on Discord. - status: "dnd", + status: "idle", // Activity lines shown under the bot name. // `type` number mapping from Discord: @@ -24,9 +24,9 @@ export const botConfig = { activities: [ { // Text users will see (example: "Playing /help | Titan Bot"). - name: "TRE Community", + name: "𝓣𝓑𝓔 𝓑𝓸𝓽 ", // Activity type number (0 = Playing). - type: 2, + type: 4, }, ], }, From 4a15b0970f5dad14a48f4a17d554b650d8ac3c10 Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:42:13 +0530 Subject: [PATCH 10/12] Update bot.js --- src/config/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/bot.js b/src/config/bot.js index 09b9a369a..006ad703f 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -24,7 +24,7 @@ export const botConfig = { activities: [ { // Text users will see (example: "Playing /help | Titan Bot"). - name: "𝓣𝓑𝓔 𝓑𝓸𝓽 ", + name: "/help - Made By @nyxyo1 - For 𝓣𝓑𝓔 Community", // Activity type number (0 = Playing). type: 4, }, From f682cbb0148c1bf9a33620f745ab5e0bd7dbe23c Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:44:40 +0530 Subject: [PATCH 11/12] Update bot.js --- src/config/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/bot.js b/src/config/bot.js index 006ad703f..9319d8d3d 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -24,7 +24,7 @@ export const botConfig = { activities: [ { // Text users will see (example: "Playing /help | Titan Bot"). - name: "/help - Made By @nyxyo1 - For 𝓣𝓑𝓔 Community", + name: "/help | Helping 𝓣𝓑𝓔 Group", // Activity type number (0 = Playing). type: 4, }, From bcbec078b1ff14c27cd300c95d5c1f8ad271ae9c Mon Sep 17 00:00:00 2001 From: TanjiroKamado1XXX Date: Sat, 27 Jun 2026 17:51:09 +0530 Subject: [PATCH 12/12] Update bot.js --- src/config/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/bot.js b/src/config/bot.js index 9319d8d3d..10aafe506 100644 --- a/src/config/bot.js +++ b/src/config/bot.js @@ -26,7 +26,7 @@ export const botConfig = { // Text users will see (example: "Playing /help | Titan Bot"). name: "/help | Helping 𝓣𝓑𝓔 Group", // Activity type number (0 = Playing). - type: 4, + type: 1, }, ], },