|
phrases = [ |
|
"morgon", |
|
"godmorgon", |
|
"god morgon", |
|
"morrn", |
|
"morn" |
|
] |
|
|
|
morning_phrases = [ |
|
"Godmorgon! :-)", |
|
"Morgon allesammans", |
|
"Morgon gott folk", |
|
"Guten morgen", |
|
"Morgon" |
|
] |
Phrases should be renamed to triggers as that is a more proper name for what it does.
Both arrays should be moved to a separate file to reduce clutter in the main file and to make it easier to add/remove/edit triggers and responses.
irc2phpbb/marvin_general_actions.py
Lines 60 to 74 in be7ec47
Phrases should be renamed to triggers as that is a more proper name for what it does.
Both arrays should be moved to a separate file to reduce clutter in the main file and to make it easier to add/remove/edit triggers and responses.