mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 05:46:16 +00:00
chore(bots/discord): change config to a js file
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import type { Config } from './config.schema'
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* @type {import('./config.schema').Config}
|
||||
*/
|
||||
export default {
|
||||
owners: ['USER_ID_HERE'],
|
||||
guilds: ['GUILD_ID_HERE'],
|
||||
@@ -70,4 +73,4 @@ export default {
|
||||
disconnectLimit: 3,
|
||||
disconnectRetryInterval: 10000,
|
||||
},
|
||||
} satisfies Config as Config
|
||||
}
|
||||
@@ -9,6 +9,7 @@
|
||||
"composite": false,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"esModuleInterop": true,
|
||||
"allowJs": true,
|
||||
"paths": {
|
||||
"$/*": ["./src/*"],
|
||||
"$constants": ["./src/constants"],
|
||||
|
||||
Reference in New Issue
Block a user