diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..05c90dc772f9780faf6e220aac656caef6d95a43 --- /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 1ebd8667c12208ea0e976d21eab61f2bc744ff8b..271069e747934d518662979347e2777db2ed77dc 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()