@notenoughupdates/discord-akairo
Advanced tools
Comparing version 9.0.10-dev.1642804356.e93bed8 to 9.0.10-dev.1642805126.3369dbe
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "9.0.10-dev.1642804356.e93bed8", | ||
"version": "9.0.10-dev.1642805126.3369dbe", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -83,6 +83,3 @@ import type { APIInteractionGuildMember, APIMessage } from "discord-api-types/v9"; | ||
*/ | ||
inGuild(): this is this & { | ||
get guild(): Guild; | ||
get channel(): GuildTextBasedChannel; | ||
}; | ||
inGuild(): this is AkairoMessageInGuild & this; | ||
/** | ||
@@ -98,2 +95,6 @@ * Deletes the reply to the command. | ||
} | ||
export interface AkairoMessageInGuild { | ||
guild: Guild; | ||
channel: GuildTextBasedChannel; | ||
} | ||
//# sourceMappingURL=AkairoMessage.d.ts.map |
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "9.0.10-dev.1642804356.e93bed8", | ||
"version": "9.0.10-dev.1642805126.3369dbe", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -148,3 +148,3 @@ import type { APIInteractionGuildMember, APIMessage } from "discord-api-types/v9"; | ||
*/ | ||
public inGuild(): this is this & { get guild(): Guild; get channel(): GuildTextBasedChannel } { | ||
public inGuild(): this is AkairoMessageInGuild & this { | ||
return Boolean(this.guildId && this.member); | ||
@@ -168,1 +168,6 @@ } | ||
} | ||
export interface AkairoMessageInGuild { | ||
guild: Guild; | ||
channel: GuildTextBasedChannel; | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
912850
16404