simple-robot / simpler-robot

Simple Robot,一个bot风格的高效异步事件调度框架 / A Bot-style event scheduling framework, asynchronous and high-performance
https://simbot.forte.love
GNU Lesser General Public License v3.0
510 stars 43 forks source link

使用本地文件配置bot以及发布教学视频 #503

Closed Enderman-TPing closed 1 year ago

Enderman-TPing commented 1 year ago

建议描述

1.希望在B站上发布v3的教程 2.希望将.bot bot配置文件放入cache文件夹中以便随时配置

ForteScarlet commented 1 year ago
  1. 视频教程会在一个稳定版发布之后(例如 v3.0.0)再开始考虑,在稳定之前暂时没有计划,时间也不太够。但是我们很欢迎社区自由发挥的发布相关教学视频(疯狂暗示)
  2. cache 文件夹是由 mirai 创建的,与simbot无关。 如果指的是希望通过外部文件读取配置文件而不是资源路径,在SpringBoot环境下可以通过 simbot.bot-configuration-resources 来指定文件目录(file:)而不是资源路径(classpath:)。普通的boot模块也可以通过修改配置来调整加载bot配置文件的方式和路径。
    simbot:
    bot-configuration-resources:
    - 'file:simbot-bots/*.json'
Enderman-Teleporting commented 1 year ago

Ok