diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-09 08:28:41 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-09 08:28:41 -0400 |
commit | f1973996dc5f1790df3f72af75732a0d250a14e2 (patch) | |
tree | 2937b65d57aef43ac15bfb855a1829838e4d515e /src/lib/extensions | |
parent | b838e15be780faa3a9acb450f814af38c7eb670a (diff) | |
download | tanzanite-f1973996dc5f1790df3f72af75732a0d250a14e2.tar.gz tanzanite-f1973996dc5f1790df3f72af75732a0d250a14e2.tar.bz2 tanzanite-f1973996dc5f1790df3f72af75732a0d250a14e2.zip |
un readonly
Diffstat (limited to 'src/lib/extensions')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 44c995a..855c252 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -79,11 +79,11 @@ const { Sequelize } = (await import('sequelize')).default; declare module 'discord.js' { export interface Client extends EventEmitter { /** The ID of the owner(s). */ - readonly ownerID: Snowflake | Snowflake[]; + ownerID: Snowflake | Snowflake[]; /** The ID of the superUser(s). */ - readonly superUserID: Snowflake | Snowflake[]; + superUserID: Snowflake | Snowflake[]; /** Whether or not the client is ready. */ - readonly customReady: boolean; + customReady: boolean; /** The configuration for the client. */ readonly config: Config; /** Stats for the client. */ @@ -152,8 +152,8 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url)); * The main hub for interacting with the Discord API. */ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Ready> { - public declare readonly ownerID: Snowflake[]; - public declare readonly superUserID: Snowflake[]; + public declare ownerID: Snowflake[]; + public declare superUserID: Snowflake[]; /** * Whether or not the client is ready. |