mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-10 22:26:23 +02:00
Added a possibility to greet new users individualy
This commit is contained in:
@@ -46,6 +46,8 @@ class Config(object):
|
||||
self._config_dict['blacklist'].append(module.strip())
|
||||
if 'greeting' not in self._config_dict:
|
||||
self._config_dict['greeting'] = "Hallo"
|
||||
if 'first_greeting' not in self._config_dict:
|
||||
self._config_dict['first_greeting'] = "Herzlich Willkommen bei uns, "
|
||||
@property
|
||||
def lang(self):
|
||||
return self._config_dict["lang"]
|
||||
@@ -80,4 +82,8 @@ class Config(object):
|
||||
|
||||
@property
|
||||
def greeting(self):
|
||||
return self._config_dict['greeting']
|
||||
return self._config_dict['greeting']
|
||||
|
||||
@property
|
||||
def first_greeting(self):
|
||||
return self._config_dict['first_greeting']
|
||||
Reference in New Issue
Block a user