Add bot prefix modifier option in extensions
This commit is contained in:
parent
c1c129196e
commit
e5ff4ddfc8
3 changed files with 25 additions and 5 deletions
|
@ -20,3 +20,12 @@ def output_modifier(string):
|
|||
"""
|
||||
|
||||
return translator.translate(string, src="en", dest=params['language string']).text
|
||||
|
||||
def bot_prefix_modifier(string):
|
||||
"""
|
||||
This function is only applied in chat mode. It modifies
|
||||
the prefix text for the Bot and can be used to bias its
|
||||
behavior.
|
||||
"""
|
||||
|
||||
return string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue