Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.22 KB

template.md

File metadata and controls

64 lines (43 loc) · 2.22 KB

Bot avatar

{{packageJSON.name}}

Made with bot.ts by {{packageJSON.author}}
CLI version: {{packageJSON.devDependencies["@ghom/bot.ts-cli"]}}
Bot.ts version: {{packageJSON.version}}
Licence: {{packageJSON.license}}

Description

{{packageJSON.description}}
{{invitation ? You can invite the bot via [this link](${invitation}) in your Discord server! : "This bot is private and cannot be invited in other servers."}}

Specifications

You can find the documentation of bot.ts here.
Below you will find the specifications for {{packageJSON.name}}.

Configuration file

{{configFile}}

Commands

Slash commands

{{Array.from(slash).map(([path, command]) => - [/${command.options.name}](${path}) - ${command.options.description}).join(" \n")}}

Textual commands

{{Array.from(commands).map(([path, command]) => - [${command.options.name}](${path}) - ${command.options.description}).join(" \n")}}

Listeners

{{Object.entries(Array.from(listeners).reduce((all, [path, listener]) => { const category = path.split(/\|//).pop().split(".")[0] if(all[category]) all[category].push([path, listener]) else all[category] = [[path, listener]] return all }, {})).map(([category, values]) => ### ${category[0].toUpperCase() + category.slice(1)} \n\n${ values.map(([path, listener]) => - ${listener.event} - ${listener.description}).join(" \n") } ).join(" \n\n")}}

Database

Using {{database}}@{{packageJSON.dependencies[database]}} as database.
Below you will find a list of all the tables used by {{packageJSON.name}}.

{{tables.size > 0 ? Array.from(tables).map(([path, table]) => - [${table.options.name}](${path}) - ${table.options.description} ).join(" \n") : "> No tables have been created yet."}}

Information

This readme.md is dynamic, it will update itself with the latest information.
If you see a mistake, please report it and an update will be made as soon as possible.

  • Used by: {{client.guilds.cache.size}} Discord guild{{client.guilds.cache.size > 1 ? "s" : ""}}
  • Last update date: {{new Date().toLocaleDateString("en-EN")}}