Microsoft-community / nanami

A modular Discord bot for the Microsoft community
1 stars 2 forks source link

Add ability to change bot commands prefix #11

Closed Jasius closed 4 years ago

Jasius commented 4 years ago

Use:

!prefix {prefixOfYourChoice} - sets prefix to your choice.

Expectation:

Changes command prefix.

Why

It would be useful in case some of the functionality will be clashing with existing bots.

TODO:

solwynn commented 4 years ago

Generally, it has been design that every module has its own prefix, because modules may not always require use of message data -- I will move prefix to be a centralized config element, and modules will take from it for consistency.

Jasius commented 4 years ago

Generally, it has been design that every module has its own prefix, because modules may not always require use of message data -- I will move prefix to be a centralized config element, and modules will take from it for consistency.

That's cool, thank you!

solwynn commented 4 years ago

Resolved with 390fadb3b21fe2b966f37dcbfea50ea6f451e1a8.