generated from Nemesis/Exemple
debug admin
This commit is contained in:
parent
b349d40311
commit
4db1e8e036
1 changed files with 4 additions and 4 deletions
|
@ -1048,10 +1048,6 @@ def main():
|
||||||
SERVER = "" # Matrix server URL
|
SERVER = "" # Matrix server URL
|
||||||
global admins
|
global admins
|
||||||
|
|
||||||
print("admins")
|
|
||||||
for admin in admins:
|
|
||||||
print(admin)
|
|
||||||
|
|
||||||
if ('AUTH' in config):
|
if ('AUTH' in config):
|
||||||
USERNAME = config['AUTH']['username'] # Bot's username
|
USERNAME = config['AUTH']['username'] # Bot's username
|
||||||
PASSWORD = config['AUTH']['password'] # Bot's password
|
PASSWORD = config['AUTH']['password'] # Bot's password
|
||||||
|
@ -1060,6 +1056,10 @@ def main():
|
||||||
else:
|
else:
|
||||||
print("Probleme de lecture de configuration asmodee.ini")
|
print("Probleme de lecture de configuration asmodee.ini")
|
||||||
|
|
||||||
|
print("admins")
|
||||||
|
for admin in admins:
|
||||||
|
print(admin)
|
||||||
|
|
||||||
# Create an instance of the MatrixBotAPI
|
# Create an instance of the MatrixBotAPI
|
||||||
global bot
|
global bot
|
||||||
bot = MatrixBotAPI(USERNAME, PASSWORD, SERVER)
|
bot = MatrixBotAPI(USERNAME, PASSWORD, SERVER)
|
||||||
|
|
Loading…
Reference in a new issue