Jacob Nguyen 20364fa20d feat: plugin, no prompt, bug fixes (#139)
* high hopes

* s

* plugin calling

* add

* eol

* more progress

* fmt

* step 1

* refactor out

* /internal route

* prg

* write handler

* consolidate

* fix version gen

* prototype

* out

* fix merge

* bundle presence and event modules

* extrapolate into plugin

* pluginify and simplify

* fix up typing gen for process env and watch mode

* watch

* add nonpromptable plugins install

* fix regression and clean up publish script

* ea
2024-07-27 10:45:53 -05:00
2022-05-14 09:50:28 +05:30
2022-09-13 10:05:02 +05:30
2023-08-09 22:06:50 +05:30
2024-02-07 22:09:32 -06:00
2022-05-10 17:20:13 +05:30
2024-02-07 22:09:32 -06:00
2024-03-19 12:41:41 -05:00
2023-08-09 22:06:50 +05:30
2023-08-09 22:06:50 +05:30

Features

  • Manage discord application commands from the command line.
  • Install plugins from the community.
  • Really fast startup times (I think).
  • Deploy with premade docker configurations.
  • Inhouse build tool based on esbuild built for sern applications, nearly zero config.

Installation

npm install -g @sern/cli@latest
yarn global add @sern/cli@latest
pnpm add -g @sern/cli@latest

Getting Started

When you install the CLI, you can use our commands with sern prefix.

Usage: sern [options] [command]


  ___  ___ _ __ _ __
 / __|/ _ \ '__| '_ \
 \__ \  __/ |  | | | |
 |___/\___|_|  |_| |_|

 Welcome!
 If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!

 If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord

Options:
  -v, --version      output the version number
  -h, --help         display help for command

Commands:
  init [options]     Quickest way to scaffold a new project [DEPRECATED]
  plugins [options]  Install plugins from https://github.com/sern-handler/awesome-plugins
  extra              Easy way to add extra things in your sern project
  commands           Defacto way to manage your slash commands
  help [command]     display help for command

Setting Up Your Project

Run npm create @sern/bot for an interactive setup on a brand new project using our framework.

Installing Plugins

sern runs on your plugins. Contribute to our repository and then install the plugins via our cli!
Run sern plugins to see all installable plugins.

Description
Powerful CLI for sern ⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-05-01T16:07:31.319Z
Readme 909 KiB
Languages
TypeScript 90.1%
JavaScript 9.9%