This commit is contained in:
@ -9,6 +9,7 @@ let context = vm.createContext({
|
||||
bot: null,
|
||||
admins: null,
|
||||
fetch: fetch,
|
||||
lib: lib,
|
||||
|
||||
a: null,
|
||||
resolve: null
|
||||
|
@ -209,8 +209,8 @@ export default async bot => {
|
||||
await e.reply(outputmsgtg, {
|
||||
reply_markup: JSON.stringify({
|
||||
inline_keyboard: [[
|
||||
{ text: 'sfw', callback_data: `b_sfw:${itemid}` },
|
||||
{ text: 'nsfw', callback_data: `b_nsfw:${itemid}` },
|
||||
{ text: (await lib.hasTag(itemid, 1) ? '✓ ' : '') + 'sfw', callback_data: `b_sfw:${itemid}` },
|
||||
{ text: (await lib.hasTag(itemid, 2) ? '✓ ' : '') + 'nsfw', callback_data: `b_nsfw:${itemid}` },
|
||||
{ text: 'tags', callback_data: `b_tags:${itemid}` },
|
||||
{ text: '❌ delete', callback_data: `b_delete:${itemid}` }
|
||||
], [
|
||||
|
Reference in New Issue
Block a user