From 353db8279b3e4b9082108f477e0622402e054c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Wikle=20DUBARD?= <loic97429@gmail.com> Date: Mon, 19 Aug 2019 12:35:22 +0200 Subject: [PATCH] .gitignore auth_file.py --- .gitignore | 1 + bot.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05c90dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +auth_file.py \ No newline at end of file diff --git a/bot.py b/bot.py index 1ebd866..271069e 100755 --- a/bot.py +++ b/bot.py @@ -7,6 +7,7 @@ from fbchat.models import * import useless import usefull import random +from auth_file import USERNAME, PASSWORD class Bot(Client): @@ -89,6 +90,7 @@ class Bot(Client): if __name__ == '__main__': - username = str(input("Username: ")) - client = Bot(username, getpass()) + # username = str(input("Username: ")) + # client = Bot(username, getpass()) + client = Bot(USERNAME, PASSWORD) client.listen() -- GitLab