Skip to content

retr0-init/Discord-Bot-Framework-Kernel

Repository files navigation

Discord机器人框架内核

doc/discord-bot-framework.drawio.png

如上图所示,这是与模块相结合与互动的内核。其中所有的功能应该是必要、极简的,并且也要为了更好地模块化集成提供极可能多的接口。

模块模板在这里。这是一个模板仓库,可以创建用于模块开发的仓库。为了能让您的模块以最好的方式与内核一起工作,请按照其中的README.md中的准则进行开发。

如何运行

  1. 安装python3. 它的版本应该至少为3.10
  2. 安装firejail
  3. 安装npm
  4. 安装PM2. sudo npm install pm2@latest -g
  5. 拷贝dotenv_template.env.env。填入环境变量。
  6. 运行pm2_start.sh

Discord Bot Framework Kernel

doc/discord-bot-framework-en.drawio.png

As shown above, this is the kernel to interact with modules. All features are meant to be essential, minimal while providing as many ports as possible for greater modularity.

The module template is here. It's a template repository that can create a new repository for module development. Please follow the template guidelines as stated in its README.md file to make it properly work with the kernel.

How to run it

  1. Install python3, whose version is >=3.10.
  2. Install firejail.
  3. Install npm.
  4. Install PM2. sudo npm install pm2@latest -g.
  5. Copy dotenv_template.env as .env. Fill in the environmental variables.
  6. Execute ./pm2_start.sh.

About

Discord Framework Kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published