mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-11 06:36:24 +02:00
added the possibility to individualize greetings
This commit is contained in:
@@ -44,7 +44,8 @@ class Config(object):
|
||||
self._config_dict['blacklist'] = []
|
||||
for module in blacklist:
|
||||
self._config_dict['blacklist'].append(module.strip())
|
||||
|
||||
if 'greeting' not in self._config_dict:
|
||||
self._config_dict['greeting'] = "Hallo "
|
||||
@property
|
||||
def lang(self):
|
||||
return self._config_dict["lang"]
|
||||
@@ -75,4 +76,8 @@ class Config(object):
|
||||
|
||||
@property
|
||||
def pwd(self):
|
||||
return self._config_dict['pwd']
|
||||
return self._config_dict['pwd']
|
||||
|
||||
@property
|
||||
def greeting(self):
|
||||
return self._config_dict['greeting']
|
||||
Reference in New Issue
Block a user