completionId: cgen-bc75587d5ae14a12866e402958c94e76
cgen-bc75587d5ae14a12866e402958c94e76
This commit is contained in:
parent
6af4546fe5
commit
9e88ea1991
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
const { createClient } = require("@supabase/supabase-js");
|
||||
const fetch = require("node-fetch");
|
||||
|
||||
// Initialize Supabase
|
||||
const supabase = createClient(
|
||||
|
|
@ -8,6 +9,12 @@ const supabase = createClient(
|
|||
|
||||
const FEED_CHANNEL_ID = process.env.DISCORD_FEED_CHANNEL_ID;
|
||||
const FEED_GUILD_ID = process.env.DISCORD_FEED_GUILD_ID;
|
||||
const API_BASE = process.env.VITE_API_BASE || "https://api.aethex.dev";
|
||||
|
||||
// Announcement channels to sync
|
||||
const ANNOUNCEMENT_CHANNELS = process.env.DISCORD_ANNOUNCEMENT_CHANNELS
|
||||
? process.env.DISCORD_ANNOUNCEMENT_CHANNELS.split(",").map((id) => id.trim())
|
||||
: [];
|
||||
|
||||
module.exports = {
|
||||
name: "messageCreate",
|
||||
|
|
|
|||
Loading…
Reference in a new issue