Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Feature: 支持同时使用多个指令前缀 #11

Open
bsdayo opened this issue Oct 15, 2022 · 1 comment
Open

Feature: 支持同时使用多个指令前缀 #11

bsdayo opened this issue Oct 15, 2022 · 1 comment
Assignees
Labels
area-fx Flandre.Framework 相关 feature 特性建议
Milestone

Comments

@bsdayo
Copy link
Member

bsdayo commented Oct 15, 2022

当前同时只能使用一个指令前缀,定义在 FlandreAppConfig.CommandPrefix

添加一个 CommandPrefixes 配置项,接受一个 IEnumerable<string>?,不为 null 时优先级大于 CommandPrefix

@bsdayo bsdayo self-assigned this Oct 15, 2022
@bsdayo bsdayo added area-core Flandre.Core 相关 feature 特性建议 labels Oct 15, 2022
@bsdayo bsdayo added this to the 0.5 milestone Oct 15, 2022
@bsdayo bsdayo removed this from the 0.5 milestone Jan 13, 2023
@bsdayo bsdayo moved this to Todo in Flandre Feb 21, 2023
@bsdayo bsdayo added this to Flandre Feb 21, 2023
@bsdayo bsdayo added this to the 1.0 milestone Feb 21, 2023
@bsdayo bsdayo added area-fx Flandre.Framework 相关 and removed area-core Flandre.Core 相关 labels Feb 21, 2023
@bsdayo
Copy link
Member Author

bsdayo commented Feb 28, 2023

或者,弃用 CommandPrefix,只采用 CommandPrefixes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-fx Flandre.Framework 相关 feature 特性建议
Projects
Status: Todo
Development

No branches or pull requests

1 participant