update(application|bot): add prefixes, blacklist,... confs and command processing

This commit is contained in:
Romain J 2019-09-09 22:40:17 +02:00
commit 30e7906f3f
12 changed files with 92 additions and 61 deletions

View file

@ -66,7 +66,6 @@ class Config:
+ '\033[0m\n')
self.input('activity', empty=True)
self.input('prefix', empty=True)
def save(self):
with open('config.py', 'w') as file:

View file

@ -20,7 +20,6 @@ texts = {
'misc': 'Autre',
'activity': "Joue à ...",
'prefix': "Prefixe (par defaut : @tuxbot)",
'end': "Configuration terminée, vous pouvez à tout moment la rectifier en modifiant le fichier config.py",
@ -47,7 +46,6 @@ texts = {
'misc': 'Misc',
'activity': "Playing ...",
'prefix': "Prefix (default is @tuxbot)",
'end': "Configuration completed, you can fix it at any time by modifying the config.py file",