allow any public interface for Reacord subclasses
This commit is contained in:
@@ -26,12 +26,8 @@ export abstract class Reacord {
|
|||||||
|
|
||||||
constructor(private readonly config: ReacordConfig = {}) {}
|
constructor(private readonly config: ReacordConfig = {}) {}
|
||||||
|
|
||||||
abstract send(channel: unknown, initialContent?: ReactNode): ReacordInstance
|
abstract send(...args: unknown[]): ReacordInstance
|
||||||
|
abstract reply(...args: unknown[]): ReacordInstance
|
||||||
abstract reply(
|
|
||||||
commandInteraction: unknown,
|
|
||||||
initialContent?: ReactNode,
|
|
||||||
): ReacordInstance
|
|
||||||
|
|
||||||
protected handleComponentInteraction(interaction: ComponentInteraction) {
|
protected handleComponentInteraction(interaction: ComponentInteraction) {
|
||||||
for (const renderer of this.renderers) {
|
for (const renderer of this.renderers) {
|
||||||
|
|||||||
Reference in New Issue
Block a user