mirror of https://github.com/coddrago/Heroku
Update heroku_backup.py
parent
825bce3509
commit
b36da09f87
|
@ -136,7 +136,7 @@ class HerokuBackupMod(loader.Module):
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"text": "↪️ Restore this",
|
"text": "↪️ Restore this",
|
||||||
"data": "heroku/backup/restore/confirm",
|
"data": "hikka/backup/restore/confirm",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -152,16 +152,16 @@ class HerokuBackupMod(loader.Module):
|
||||||
|
|
||||||
@loader.callback_handler()
|
@loader.callback_handler()
|
||||||
async def restore(self, call: BotInlineCall):
|
async def restore(self, call: BotInlineCall):
|
||||||
if not call.data.startswith("heroku/backup/restore"):
|
if not call.data.startswith("hikka/backup/restore"):
|
||||||
return
|
return
|
||||||
|
|
||||||
if call.data == "heroku/backup/restore/confirm":
|
if call.data == "hikka/backup/restore/confirm":
|
||||||
await utils.answer(
|
await utils.answer(
|
||||||
call,
|
call,
|
||||||
"❓ <b>Are you sure?</b>",
|
"❓ <b>Are you sure?</b>",
|
||||||
reply_markup={
|
reply_markup={
|
||||||
"text": "✅ Yes",
|
"text": "✅ Yes",
|
||||||
"data": "heroku/backup/restore",
|
"data": "hikka/backup/restore",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue