MessageResponseContext
interface in meocord/interface Since 4.1.0
interface MessageResponseContextWhat a presenter knows about the message command it renders an error reply for, in
ResponsePresenter.messageError.
Members
message
message: MessageThe message being answered.
locale
locale: stringThe locale the reply is in: the server's preferred locale, or the translator's default in a DM.
mode
mode: 'embed'How the view is rendered: a reply to a message is a new message, drawn as an embed.
theme
theme: DeepReadonly<MeoCordTheme>The theme of the call being answered, to style the view from: the same one useTheme() returns in it.