This commit is contained in:
@ -13,7 +13,6 @@ const commandHandle = {
|
||||
};
|
||||
|
||||
async function randomCook(text, data) {
|
||||
logger(text, data.type, data.sender.id, data.sender.group.id);
|
||||
const limit = Number.parseInt(text) > 0 ? Number.parseInt(text) : 5;
|
||||
const recipeList = await getRandomRecipe(limit);
|
||||
logger(JSON.stringify(recipeList));
|
||||
|
Reference in New Issue
Block a user