feat: split config.json into public and private

This commit is contained in:
TresAbhi committed 2023-04-20 13:43:35 +00:00
1 parent c3399b54c5
commit a5ebcd92a7
5 files changed
+16 -14

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
import discord from '../../discord.json' assert { type: 'json' };
import {
CacheType,
Collection,
@@ -31,8 +32,8 @@ try {
const data = (await rest.put(
Routes.applicationGuildCommands(
config.discord_client_id,
config.discord_guild_id,
discord.client_id,
discord.guild_id,
),
{ body: commands },
)) as { length: number };