mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: split config.json into public and private
This commit is contained in:
1 parent
c3399b54c5
commit
a5ebcd92a7
5 files changed
+16
-14
No files matched your search
@@ -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 };
|
||||
|
||||
Reference in new issue
Block a user