mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Rename use_inline_reply to inline (#278)
This commit is contained in:
parent
cc4477a7ee
commit
70f2d75327
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ export const ReplyAction = automodAction({
|
|||
t.type({
|
||||
text: tMessageContent,
|
||||
auto_delete: tNullable(t.union([tDelayString, t.number])),
|
||||
use_inline_reply: tNullable(t.boolean),
|
||||
inline: tNullable(t.boolean),
|
||||
}),
|
||||
]),
|
||||
|
||||
|
@ -102,7 +102,7 @@ export const ReplyAction = automodAction({
|
|||
},
|
||||
};
|
||||
|
||||
if (typeof actionConfig !== "string" && actionConfig.use_inline_reply) {
|
||||
if (typeof actionConfig !== "string" && actionConfig.inline) {
|
||||
messageOpts.reply = {
|
||||
failIfNotExists: false,
|
||||
messageReference: _contexts[0].message!.id,
|
||||
|
|
Loading…
Add table
Reference in a new issue