ReferenceClasses
PublicChannelError
Defined in: packages/client/src/errors.ts:120
Thrown by channel.send() and message.reply() on the Public channel: a bot never speaks first on Public.
Only ctx.reply() of a command that opted in with setScope('public') may answer there.
Extends
Constructors
Constructor
new PublicChannelError(): PublicChannelError;Defined in: packages/client/src/errors.ts:121
Returns
PublicChannelError
Overrides
Properties
code
readonly code: string;Defined in: packages/transports/src/errors.ts:3