aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord.js/BushActivity.ts2
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommand.ts2
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommandManager.ts2
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts6
-rw-r--r--src/lib/extensions/discord.js/BushGuildApplicationCommandManager.ts2
-rw-r--r--src/lib/extensions/discord.js/BushMessageReaction.ts4
-rw-r--r--src/lib/extensions/discord.js/BushRole.ts4
-rw-r--r--src/lib/extensions/discord.js/BushVoiceState.ts6
8 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/extensions/discord.js/BushActivity.ts b/src/lib/extensions/discord.js/BushActivity.ts
index 6ca1611..4dc4e74 100644
--- a/src/lib/extensions/discord.js/BushActivity.ts
+++ b/src/lib/extensions/discord.js/BushActivity.ts
@@ -3,7 +3,7 @@ import { BushEmoji } from './BushEmoji';
import { BushPresence } from './BushPresence';
export class BushActivity extends Activity {
- public emoji: BushEmoji | null;
+ public declare emoji: BushEmoji | null;
public constructor(presence: BushPresence, data?: unknown) {
super(presence, data);
}
diff --git a/src/lib/extensions/discord.js/BushApplicationCommand.ts b/src/lib/extensions/discord.js/BushApplicationCommand.ts
index 5a0e139..2acf7f8 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommand.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommand.ts
@@ -6,7 +6,7 @@ import { BushGuild } from './BushGuild';
export class BushApplicationCommand<PermissionsFetchType = {}> extends ApplicationCommand {
public declare readonly client: BushClient;
- public guild: BushGuild | null;
+ public declare guild: BushGuild | null;
public constructor(client: BushClient, data: unknown, guild?: BushGuild, guildID?: Snowflake) {
super(client, data, guild, guildID);
diff --git a/src/lib/extensions/discord.js/BushApplicationCommandManager.ts b/src/lib/extensions/discord.js/BushApplicationCommandManager.ts
index 51c93dd..a8abb6f 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommandManager.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommandManager.ts
@@ -12,7 +12,7 @@ export class BushApplicationCommandManager<
PermissionsOptionsExtras = { guild: GuildResolvable },
PermissionsGuildType = null
> extends ApplicationCommandManager<ApplicationCommandType, PermissionsOptionsExtras, PermissionsGuildType> {
- public permissions: BushApplicationCommandPermissionsManager<
+ public declare permissions: BushApplicationCommandPermissionsManager<
{ command?: BushApplicationCommandResolvable } & PermissionsOptionsExtras,
{ command: BushApplicationCommandResolvable } & PermissionsOptionsExtras,
PermissionsOptionsExtras,
diff --git a/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
index 3779c93..3a98833 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
@@ -1,7 +1,7 @@
import {
- ApplicationCommandPermissionsManager,
ApplicationCommand,
ApplicationCommandManager,
+ ApplicationCommandPermissionsManager,
GuildApplicationCommandManager
} from 'discord.js';
import { BushClient } from '../discord-akairo/BushClient';
@@ -22,8 +22,8 @@ export class BushApplicationCommandPermissionsManager<
GuildType,
CommandIdType
> {
- public client: BushClient;
- public manager: BushApplicationCommandManager | BushGuildApplicationCommandManager | BushApplicationCommand;
+ public declare client: BushClient;
+ public declare manager: BushApplicationCommandManager | BushGuildApplicationCommandManager | BushApplicationCommand;
public constructor(manager: ApplicationCommandManager | GuildApplicationCommandManager | ApplicationCommand) {
super(manager);
diff --git a/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.ts b/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.ts
index d4c1337..3dd79a4 100644
--- a/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.ts
+++ b/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.ts
@@ -3,7 +3,7 @@ import { GuildApplicationCommandManager } from 'discord.js';
import { BushGuild } from './BushGuild';
export class BushGuildApplicationCommandManager extends GuildApplicationCommandManager {
- public guild: BushGuild;
+ public declare guild: BushGuild;
public constructor(guild: BushGuild, iterable?: Iterable<any>) {
super(guild, iterable);
}
diff --git a/src/lib/extensions/discord.js/BushMessageReaction.ts b/src/lib/extensions/discord.js/BushMessageReaction.ts
index 9958059..c57aafa 100644
--- a/src/lib/extensions/discord.js/BushMessageReaction.ts
+++ b/src/lib/extensions/discord.js/BushMessageReaction.ts
@@ -5,8 +5,8 @@ import { BushMessage } from './BushMessage';
import { BushReactionEmoji } from './BushReactionEmoji';
export class BushMessageReaction extends MessageReaction {
- public readonly client: BushClient;
- public readonly emoji: BushGuildEmoji | BushReactionEmoji;
+ public declare readonly client: BushClient;
+ public declare readonly emoji: BushGuildEmoji | BushReactionEmoji;
public constructor(client: BushClient, data: unknown, message: BushMessage) {
super(client, data, message);
diff --git a/src/lib/extensions/discord.js/BushRole.ts b/src/lib/extensions/discord.js/BushRole.ts
index 1d502b2..57533c9 100644
--- a/src/lib/extensions/discord.js/BushRole.ts
+++ b/src/lib/extensions/discord.js/BushRole.ts
@@ -5,8 +5,8 @@ import { BushGuildMember } from './BushGuildMember';
export class BushRole extends Role {
public declare readonly client: BushClient;
- public guild: BushGuild;
- public readonly members: Collection<Snowflake, BushGuildMember>;
+ public declare guild: BushGuild;
+ public declare readonly members: Collection<Snowflake, BushGuildMember>;
public constructor(client: BushClient, data: unknown, guild: BushGuild) {
super(client, data, guild);
}
diff --git a/src/lib/extensions/discord.js/BushVoiceState.ts b/src/lib/extensions/discord.js/BushVoiceState.ts
index d93fa13..416b0d8 100644
--- a/src/lib/extensions/discord.js/BushVoiceState.ts
+++ b/src/lib/extensions/discord.js/BushVoiceState.ts
@@ -5,9 +5,9 @@ import { BushStageChannel } from './BushStageChannel';
import { BushVoiceChannel } from './BushVoiceChannel';
export class BushVoiceState extends VoiceState {
- public readonly channel: BushVoiceChannel | BushStageChannel | null;
- public guild: BushGuild;
- public readonly member: BushGuildMember | null;
+ public declare readonly channel: BushVoiceChannel | BushStageChannel | null;
+ public declare guild: BushGuild;
+ public declare readonly member: BushGuildMember | null;
public constructor(guild: BushGuild, data: unknown) {
super(guild, data);
}