- Preparing search index...
- The search index is not available
cardstack
- makeTestMessage(__namedParameters: {
id?: string;
content: string;
user: MockUser;
channel?: MockChannel;
guild?: MockGuild;
userRoles?: Collection<string, MockRole>;
onReply?: ((msg: any) => Promise<unknown>);
onCreateDM?: (() => Promise<MockChannel>);
}): MockMessage
-
Parameters
-
__namedParameters: {
id?: string;
content: string;
user: MockUser;
channel?: MockChannel;
guild?: MockGuild;
userRoles?: Collection<string, MockRole>;
onReply?: ((msg: any) => Promise<unknown>);
onCreateDM?: (() => Promise<MockChannel>);
}
-
Optional
id?: string
-
content: string
-
-
-
-
-
Optional
onReply?: ((msg: any) => Promise<unknown>)
-
- (msg: any): Promise<unknown>
-
Returns Promise<unknown>
-
Optional
onCreateDM?: (() => Promise<MockChannel>)