forked from f0ck/f0ckv2
fix ids
This commit is contained in:
@@ -8,16 +8,16 @@ import lib from "../lib.mjs";
|
||||
const tagkeyboard = id => {
|
||||
const tags = [{
|
||||
tag: 'music',
|
||||
id: 115
|
||||
id: 9124
|
||||
}, {
|
||||
tag: 'german',
|
||||
id: 329
|
||||
id: 9161
|
||||
}, {
|
||||
tag: 'cat',
|
||||
id: 217
|
||||
id: 559
|
||||
}, {
|
||||
tag: 'doggo',
|
||||
id: 5
|
||||
id: 10932
|
||||
}];
|
||||
return Promise.all(tags.map(async t => ({ text: `${await lib.hasTag(id, t.id) ? '✓ ' : ''}${t.tag}`, callback_data: `b_settag_${t.id}:${id}` })));
|
||||
};
|
||||
|
Reference in New Issue
Block a user