Dennis Potter
ca86ade0fa
Before this commit, the name of the bot had to be hard coded into every plugin. Now, the name of the bot to which it should be sensitive can be set in the global config.hjson. Furthermore, the default sensitivity of a plugin is only recognized at the beginning of a sentence and is case insensitive. Finally, the possibility to add aliases for plugins is added.
12 lines
271 B
Plaintext
12 lines
271 B
Plaintext
##################################################
|
|
# This file contains an easy way to create aliases
|
|
# for commands.
|
|
#
|
|
# The make up of this should be:
|
|
# "<Original command>":"<Alias>"
|
|
##################################################
|
|
|
|
{
|
|
"Hello Bot":"Bot hello",
|
|
}
|