UNPKG

@ptkdev/node-discord-bot-boilerplate

Version:

Create your discord bot with this friendly boilerplate. Use this repository as template for your bot

29 lines (28 loc) 798 B
/** * Node Module * ===================== * * Show hello world text * * @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev) * Alì Shadman [@AliShadman95] * * @license: MIT License * */ import type { ModuleInterface, ModuleResponseInterface } from "../types/module.type"; /** * Hello World * ===================== * * Print hello-world * * @interface [ModuleInterface ModuleResponseInterface](https://github.com/ptkdev-boilerplate/node-discord-bot-boilerplate/blob/main/app/types/module.type.ts) * * @param {string} {text} - input string * * @return {Promise<ModuleResponseInterface>} (async) app() function that return string * */ declare const m: ({ text }: ModuleInterface) => Promise<ModuleResponseInterface>; export default m;