mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
fix: version static
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -40,8 +40,8 @@ import { ExtendedUser } from './Structures/users/Extended.js'
|
||||
import User from './Structures/users/User.js'
|
||||
import Bucket from './utils/Bucket.js'
|
||||
import DiscordRESTError from './utils/DiscordRESTError.js'
|
||||
// eslint-disable-next-line require-extensions/require-extensions
|
||||
import { version as VERSION } from '../package.json'
|
||||
// TODO: MAKE THIS DYNAMIC FROM PACKAGE.JSON
|
||||
export const VERSION = "19.0.0";
|
||||
|
||||
export function DiscordenoClient(token: string, options: ClientOptions): Client {
|
||||
return new Client(token, options)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"display": "Default",
|
||||
"compilerOptions": {
|
||||
"target": "es2022",
|
||||
"module": "ESNext",
|
||||
"module": "es2022",
|
||||
"composite": false,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"loose": true
|
||||
},
|
||||
"module": {
|
||||
"type": "nodenext",
|
||||
"type": "es6",
|
||||
"strict": false,
|
||||
"strictMode": true,
|
||||
"lazy": false,
|
||||
|
||||
Reference in New Issue
Block a user