Switch to dotenvx

This commit is contained in:
lilyissillyyy
2025-09-14 00:52:12 -04:00
parent d4c2497ae2
commit 1022766f02
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
require('dotenv').config();
require('@dotenvx/dotenvx').config();
const { XIAO_TOKEN, OWNERS, XIAO_PREFIX, INVITE } = process.env;
const { mkdir } = require('fs/promises');
const path = require('path');
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "157.0.0",
"version": "158.0.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -31,8 +31,9 @@
"dependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/voice": "^0.19.0",
"@dotenvx/dotenvx": "^1.49.0",
"@mediapipe/face_detection": "^0.4.1646425229",
"@napi-rs/canvas": "^0.1.78",
"@napi-rs/canvas": "^0.1.80",
"@skyra/gifenc": "^1.0.1",
"@snazzah/davey": "^0.1.6",
"@tensorflow-models/face-detection": "^1.0.3",
@@ -48,7 +49,6 @@
"custom-translate": "^2.2.8",
"didyoumean2": "^7.0.4",
"discord.js": "^14.22.1",
"dotenv": "^17.2.1",
"emoji-regex": "^10.5.0",
"fen-validator": "^2.0.1",
"font-finder": "^1.1.0",
@@ -56,11 +56,11 @@
"html-entities": "^2.6.0",
"image-to-ascii": "^3.2.2",
"ioredis": "^5.7.0",
"js-chess-engine": "^1.0.2",
"js-chess-engine": "^1.0.3",
"jszip": "^3.10.1",
"kuroshiro": "^1.2.0",
"kuroshiro-analyzer-kuromoji": "^1.1.0",
"mathjs": "^14.6.0",
"mathjs": "^14.7.0",
"minimist": "^1.2.8",
"moment": "^2.30.1",
"moment-duration-format": "^2.3.2",
@@ -79,7 +79,7 @@
"text-diff": "^1.0.1",
"tictactoe-minimax-ai": "github:marianoheller/tic-tac-toe-minimax",
"twitter-openapi-typescript": "^0.0.55",
"user-agents": "^1.1.648",
"user-agents": "^1.1.660",
"valid-url": "^1.0.9",
"wavefile": "^11.0.0",
"winston": "^3.17.0",
@@ -94,10 +94,10 @@
"zlib-sync": "^0.1.10"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"eslint": "^9.34.0",
"@eslint/js": "^9.35.0",
"eslint": "^9.35.0",
"eslint-config-amber": "^2.0.4",
"eslint-plugin-jsonc": "^2.20.1",
"globals": "^16.3.0"
"globals": "^16.4.0"
}
}