Tobkubos commited on
Commit
0ca9fa7
·
1 Parent(s): 8a8571b
Files changed (3) hide show
  1. backend/guild_configs.json +6 -0
  2. guildConfigs.json +1 -0
  3. index.js +1 -1
backend/guild_configs.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "1515307986963267595": {
3
+ "active_text_model": "none",
4
+ "log_channel_id": null
5
+ }
6
+ }
guildConfigs.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
index.js CHANGED
@@ -426,7 +426,7 @@ client.on(Events.InteractionCreate, async (interaction) => {
426
  const tempSession = activeSetupSessions.get(guildId);
427
  if (tempSession) {
428
  try {
429
- const response = await fetch(`http://backend-api-url/guilds/${guildId}/setup`, {
430
  method: "POST",
431
  headers: {
432
  "Content-Type": "application/json"
 
426
  const tempSession = activeSetupSessions.get(guildId);
427
  if (tempSession) {
428
  try {
429
+ const response = await fetch(`${API_URL}/guilds/${guildId}/setup`, {
430
  method: "POST",
431
  headers: {
432
  "Content-Type": "application/json"