UNPKG

@ptkdev/node-discord-bot-boilerplate

Version:

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

30 lines 830 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.launch = void 0; /** * Discord Commands * ===================== * * @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev) * Alì Shadman [@AliShadman95] * * @license: MIT License * */ const discord_1 = __importDefault(require("./discord")); const config_1 = __importDefault(require("../configs/config")); /** * Run bot * ===================== * Send welcome message * */ const launch = async () => { discord_1.default.login(config_1.default.discord.token); }; exports.launch = launch; exports.default = launch; //# sourceMappingURL=commands.js.map