3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 13:07:20 +00:00

renamed use_inline_reply to inline

This commit is contained in:
almeidx 2021-09-04 22:46:24 +01:00
parent 2b8f75b91b
commit 888737765b
No known key found for this signature in database
GPG key ID: 8558FBFF849BD664

View file

@ -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,