oh wait we dont need that

This commit is contained in:
May 2024-04-30 16:14:37 -07:00
parent 2112c75a7d
commit 5672a6e0a5
2 changed files with 1 additions and 4 deletions

View file

@ -8,8 +8,7 @@ DISCORD_TOKEN=
MAX__DISCORD_FILES= MAX__DISCORD_FILES=
MAX__DISCORD_FILE_SIZE= MAX__DISCORD_FILE_SIZE=
MAX__UPLOAD_ID_LENGTH= MAX__UPLOAD_ID_LENGTH=
Y
TARGET__GUILD=
TARGET__CHANNEL= TARGET__CHANNEL=
ACCOUNTS__REGISTRATION_ENABLED= ACCOUNTS__REGISTRATION_ENABLED=

View file

@ -9,7 +9,6 @@ export interface Configuration {
maxDiscordFiles: number maxDiscordFiles: number
maxDiscordFileSize: number maxDiscordFileSize: number
maxUploadIdLength: number maxUploadIdLength: number
targetGuild: string
targetChannel: string targetChannel: string
accounts: { accounts: {
registrationEnabled: boolean registrationEnabled: boolean
@ -49,7 +48,6 @@ export default {
maxDiscordFiles: Number(process.env.MAX__DISCORD_FILES), maxDiscordFiles: Number(process.env.MAX__DISCORD_FILES),
maxDiscordFileSize: Number(process.env.MAX__DISCORD_FILE_SIZE), maxDiscordFileSize: Number(process.env.MAX__DISCORD_FILE_SIZE),
maxUploadIdLength: Number(process.env.MAX__UPLOAD_ID_LENGTH), maxUploadIdLength: Number(process.env.MAX__UPLOAD_ID_LENGTH),
targetGuild: process.env.TARGET__GUILD,
targetChannel: process.env.TARGET__CHANNEL, targetChannel: process.env.TARGET__CHANNEL,
accounts: { accounts: {
registrationEnabled: registrationEnabled: