Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Interface exported by @botmesh/core.
ctx.tools
bot.provide(name, value)
declare module '@botmesh/core' { interface DefaultTools { prices: Map<string, number> } } bot.provide('prices', new Map([['cake', 12]])) bot.when('price', (ctx) => ctx.reply(String(ctx.tools.prices.get('cake'))))