Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
INFO : 2018-11-19 20:51:55,681 : New program run
INFO : 2018-11-19 20:52:01,021 : successful start loop run
INFO : 2018-11-19 20:52:06,102 : successful start loop run
INFO : 2018-11-19 20:52:11,185 : successful start loop run
INFO : 2018-11-19 20:52:16,268 : successful start loop run
INFO : 2018-11-19 20:52:21,354 : successful start loop run
INFO : 2018-11-19 20:52:26,441 : successful start loop run
INFO : 2018-11-19 20:52:27,487 : message_id = 575
text = Hi
reply = Thank you for the message Fred Cook
INFO : 2018-11-19 20:52:27,487 : message popped
INFO : 2018-11-19 20:52:32,488 : successful start loop run
INFO : 2018-11-19 20:52:32,771 : message_id = 575
text = Hi
reply = Thank you for the message Fred Cook
INFO : 2018-11-19 20:52:32,771 : message popped
INFO : 2018-11-19 20:52:37,773 : successful start loop run
INFO : 2018-11-19 20:52:38,177 : message_id = 575
text = Hi
reply = Thank you for the message Fred Cook
INFO : 2018-11-19 20:52:38,180 : message popped
INFO : 2018-11-19 20:52:43,181 : successful start loop run
INFO : 2018-11-19 20:52:48,262 : successful start loop run
INFO : 2018-11-19 20:52:48,454 : message_id = 577
text = Hello
reply = Thank you for the message Fred Cook
INFO : 2018-11-19 20:52:48,454 : message popped
INFO : 2018-11-19 20:52:53,455 : successful start loop run
INFO : 2018-11-19 20:52:58,538 : successful start loop run
INFO : 2018-11-19 20:53:03,622 : successful start loop run
INFO : 2018-11-19 21:16:34,436 : New program run
INFO : 2018-11-19 21:16:39,758 : successful start loop run
INFO : 2018-11-19 21:16:44,848 : successful start loop run
INFO : 2018-11-19 21:16:49,933 : successful start loop run
ERROR : 2018-11-19 21:16:50,221 :
Traceback (most recent call last):
File "C:\Users\fred laptop\Google Drive\Uni Work\Activity Led Learning Projects\Python_Telegram_Chat_bot\chat_bot_main.py", line 102, in chat_bot
send = chat_bot.reply(text)
AttributeError: 'function' object has no attribute 'reply'
INFO : 2018-11-19 21:16:50,326 : message popped
INFO : 2018-11-19 21:16:55,327 : successful start loop run
INFO : 2018-11-19 21:17:00,407 : successful start loop run
ERROR : 2018-11-19 21:17:00,509 :
Traceback (most recent call last):
File "C:\Users\fred laptop\Google Drive\Uni Work\Activity Led Learning Projects\Python_Telegram_Chat_bot\chat_bot_main.py", line 102, in chat_bot
send = chat_bot.reply(text)
AttributeError: 'function' object has no attribute 'reply'
INFO : 2018-11-19 21:17:00,639 : message popped
INFO : 2018-11-19 21:17:05,640 : successful start loop run
INFO : 2018-11-19 21:17:10,719 : successful start loop run
INFO : 2018-11-19 21:17:15,804 : successful start loop run
INFO : 2018-11-19 21:17:20,890 : successful start loop run
INFO : 2018-11-19 21:17:25,972 : successful start loop run
INFO : 2018-11-19 21:17:31,069 : successful start loop run
INFO : 2018-11-19 21:17:36,153 : successful start loop run
INFO : 2018-11-19 21:17:41,238 : successful start loop run
INFO : 2018-11-19 21:17:46,319 : successful start loop run
INFO : 2018-11-19 21:17:54,077 : successful start loop run
INFO : 2018-11-19 21:17:59,167 : successful start loop run
INFO : 2018-11-19 21:18:04,251 : successful start loop run
INFO : 2018-11-19 21:18:09,342 : successful start loop run
INFO : 2018-11-19 21:18:14,424 : successful start loop run
INFO : 2018-11-19 21:18:19,555 : successful start loop run
INFO : 2018-11-19 21:18:25,752 : successful start loop run
INFO : 2018-11-19 21:18:30,924 : successful start loop run
INFO : 2018-11-19 21:18:36,001 : successful start loop run
INFO : 2018-11-19 21:18:41,091 : successful start loop run
INFO : 2018-11-19 21:18:46,171 : successful start loop run
INFO : 2018-11-19 21:18:51,256 : successful start loop run
INFO : 2018-11-19 21:18:56,345 : successful start loop run
INFO : 2018-11-19 21:19:01,440 : successful start loop run
INFO : 2018-11-19 21:19:06,525 : successful start loop run
INFO : 2018-11-19 21:19:11,612 : successful start loop run
INFO : 2018-11-19 21:19:16,792 : successful start loop run
INFO : 2018-11-19 21:19:21,874 : successful start loop run
INFO : 2018-11-19 21:19:26,959 : successful start loop run
INFO : 2018-11-19 21:19:32,089 : successful start loop run
INFO : 2018-11-19 21:19:37,302 : successful start loop run
INFO : 2018-11-19 21:19:42,384 : successful start loop run
INFO : 2018-11-19 21:19:47,464 : successful start loop run
INFO : 2018-11-19 21:19:52,545 : successful start loop run
INFO : 2018-11-19 21:19:57,624 : successful start loop run
INFO : 2018-11-19 21:20:02,704 : successful start loop run
INFO : 2018-11-19 21:20:07,796 : successful start loop run
INFO : 2018-11-19 21:20:12,881 : successful start loop run
INFO : 2018-11-19 21:20:16,526 : New program run
INFO : 2018-11-19 21:20:17,962 : successful start loop run
INFO : 2018-11-19 21:20:21,853 : successful start loop run
INFO : 2018-11-19 21:20:26,045 : successful start loop run
INFO : 2018-11-19 21:20:26,936 : successful start loop run
INFO : 2018-11-19 21:20:31,127 : successful start loop run
ERROR : 2018-11-19 21:20:31,211 :
Traceback (most recent call last):
File "C:\Users\fred laptop\Google Drive\Uni Work\Activity Led Learning Projects\Python_Telegram_Chat_bot\chat_bot_main.py", line 102, in chat_bot
send = chat_bot.reply(text)
AttributeError: 'function' object has no attribute 'reply'
INFO : 2018-11-19 21:20:31,298 : message popped
INFO : 2018-11-19 21:20:36,300 : successful start loop run
INFO : 2018-11-19 21:21:00,180 : New program run
INFO : 2018-11-19 21:21:05,490 : successful start loop run
INFO : 2018-11-19 21:21:10,575 : successful start loop run
INFO : 2018-11-19 21:25:27,308 : New program run
INFO : 2018-11-19 21:29:57,501 : New program run
INFO : 2018-11-19 21:35:00,291 : New program run
INFO : 2018-11-19 21:42:00,436 : New program run
INFO : 2018-11-19 21:44:52,222 : New program run
INFO : 2018-11-19 21:47:00,217 : New program run
INFO : 2018-11-19 21:47:00,651 : Received input statement: Hi
INFO : 2018-11-19 21:47:00,660 : "Hi" is not a known statement
INFO : 2018-11-19 21:47:00,835 : Using "Hi" as a close match to "you are cheating"
INFO : 2018-11-19 21:47:00,846 : Selecting response from 2 optimal responses.
INFO : 2018-11-19 21:47:00,847 : Selecting first response from list of 2 options.
INFO : 2018-11-19 21:47:00,847 : Response selected. Using "you are a cheat"
INFO : 2018-11-19 21:47:00,847 : BestMatch selected "you are a cheat" as a response with a confidence of 0.22
INFO : 2018-11-19 21:47:00,856 : NoKnowledgeAdapter selected "Hi" as a response with a confidence of 0
INFO : 2018-11-19 21:48:04,093 : New program run
INFO : 2018-11-19 21:48:04,645 : Received input statement: Hi
INFO : 2018-11-19 21:48:04,653 : "Hi" is a known statement
INFO : 2018-11-19 21:48:04,808 : Using "Hi" as a close match to "you are cheating"
INFO : 2018-11-19 21:48:04,818 : Selecting response from 2 optimal responses.
INFO : 2018-11-19 21:48:04,819 : Selecting first response from list of 2 options.
INFO : 2018-11-19 21:48:04,819 : Response selected. Using "you are a cheat"
INFO : 2018-11-19 21:48:04,819 : BestMatch selected "you are a cheat" as a response with a confidence of 0.22
INFO : 2018-11-19 21:48:04,829 : NoKnowledgeAdapter selected "Hi" as a response with a confidence of 0
INFO : 2018-11-19 21:48:05,129 : message_id = 585
text = Hi
reply = you are a cheat
INFO : 2018-11-19 21:48:05,129 : message popped
INFO : 2018-11-19 21:48:10,130 : successful start loop run
INFO : 2018-11-19 21:48:15,216 : successful start loop run
INFO : 2018-11-19 21:48:20,297 : successful start loop run
INFO : 2018-11-19 21:48:25,380 : successful start loop run
INFO : 2018-11-19 21:48:30,466 : successful start loop run
INFO : 2018-11-19 21:48:52,159 : New program run
INFO : 2018-11-19 21:48:57,498 : successful start loop run
INFO : 2018-11-19 21:52:27,077 : New program run
INFO : 2018-11-19 21:52:32,389 : successful start loop run
INFO : 2018-11-19 21:52:37,469 : successful start loop run
INFO : 2018-11-19 21:52:42,559 : successful start loop run
INFO : 2018-11-19 21:52:47,650 : successful start loop run
INFO : 2018-11-19 21:52:52,734 : successful start loop run
INFO : 2018-11-19 21:52:52,949 : Received input statement: Hi
INFO : 2018-11-19 21:52:52,957 : "Hi" is a known statement
INFO : 2018-11-19 21:52:54,017 : Using "Hi" as a close match to "Hi"
INFO : 2018-11-19 21:52:54,026 : Selecting response from 2 optimal responses.
INFO : 2018-11-19 21:52:54,027 : Selecting first response from list of 2 options.
INFO : 2018-11-19 21:52:54,027 : Response selected. Using "How are you doing?"
INFO : 2018-11-19 21:52:54,027 : BestMatch selected "How are you doing?" as a response with a confidence of 1.0
INFO : 2018-11-19 21:52:54,035 : NoKnowledgeAdapter selected "Hi" as a response with a confidence of 0
INFO : 2018-11-19 21:52:54,372 : message_id = 587
text = Hi
reply = How are you doing?
INFO : 2018-11-19 21:52:54,373 : message popped
INFO : 2018-11-19 21:52:59,373 : successful start loop run
INFO : 2018-11-19 21:53:04,485 : successful start loop run
INFO : 2018-11-19 21:53:04,642 : Received input statement: I'm good thanks
INFO : 2018-11-19 21:53:04,649 : "I'm good thanks" is not a known statement
INFO : 2018-11-19 21:53:05,696 : Using "I'm good thanks" as a close match to "That's good to hear."
INFO : 2018-11-19 21:53:05,705 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:53:05,705 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:53:05,705 : Response selected. Using "Yes it is."
INFO : 2018-11-19 21:53:05,705 : BestMatch selected "Yes it is." as a response with a confidence of 0.57
INFO : 2018-11-19 21:53:05,713 : NoKnowledgeAdapter selected "I'm good thanks" as a response with a confidence of 0
INFO : 2018-11-19 21:53:05,730 : Adding "I'm good thanks" as a response to "Hi"
INFO : 2018-11-19 21:53:05,995 : message_id = 589
text = I'm good thanks
reply = Yes it is.
INFO : 2018-11-19 21:53:05,996 : message popped
INFO : 2018-11-19 21:53:10,996 : successful start loop run
INFO : 2018-11-19 21:53:16,084 : successful start loop run
INFO : 2018-11-19 21:53:19,264 : Received input statement: How are you?
INFO : 2018-11-19 21:53:19,272 : "How are you?" is a known statement
INFO : 2018-11-19 21:53:20,317 : Using "How are you?" as a close match to "How are you?"
INFO : 2018-11-19 21:53:20,327 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:53:20,327 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:53:20,327 : Response selected. Using "I am doing well."
INFO : 2018-11-19 21:53:20,327 : BestMatch selected "I am doing well." as a response with a confidence of 1.0
INFO : 2018-11-19 21:53:20,336 : NoKnowledgeAdapter selected "How are you?" as a response with a confidence of 0
INFO : 2018-11-19 21:53:20,350 : Adding "How are you?" as a response to "How are you doing?"
INFO : 2018-11-19 21:53:20,630 : message_id = 591
text = How are you?
reply = I am doing well.
INFO : 2018-11-19 21:53:20,631 : message popped
INFO : 2018-11-19 21:53:25,631 : successful start loop run
INFO : 2018-11-19 21:53:30,715 : successful start loop run
INFO : 2018-11-19 21:53:30,864 : Received input statement: Pizza
INFO : 2018-11-19 21:53:30,915 : "Pizza" is not a known statement
INFO : 2018-11-19 21:53:31,948 : Using "Pizza" as a close match to "I am."
INFO : 2018-11-19 21:53:31,958 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:53:31,958 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:53:31,958 : Response selected. Using "Do you know all of it?"
INFO : 2018-11-19 21:53:31,958 : BestMatch selected "Do you know all of it?" as a response with a confidence of 0.4
INFO : 2018-11-19 21:53:31,970 : NoKnowledgeAdapter selected "Pizza" as a response with a confidence of 0
INFO : 2018-11-19 21:53:31,989 : Adding "Pizza" as a response to "How are you?"
INFO : 2018-11-19 21:53:32,304 : message_id = 593
text = Pizza
reply = Do you know all of it?
INFO : 2018-11-19 21:53:32,304 : message popped
INFO : 2018-11-19 21:53:37,305 : successful start loop run
INFO : 2018-11-19 21:53:42,389 : successful start loop run
INFO : 2018-11-19 21:53:42,481 : Received input statement: I know alot
INFO : 2018-11-19 21:53:42,487 : "I know alot" is not a known statement
INFO : 2018-11-19 21:53:43,571 : Using "I know alot" as a close match to "i know"
INFO : 2018-11-19 21:53:43,579 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:53:43,579 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:53:43,579 : Response selected. Using "wrote the iliad and the odyssey."
INFO : 2018-11-19 21:53:43,580 : BestMatch selected "wrote the iliad and the odyssey." as a response with a confidence of 0.71
INFO : 2018-11-19 21:53:43,587 : NoKnowledgeAdapter selected "I know alot" as a response with a confidence of 0
INFO : 2018-11-19 21:53:43,603 : Adding "I know alot" as a response to "I'm good thanks"
INFO : 2018-11-19 21:53:43,921 : message_id = 595
text = I know alot
reply = wrote the iliad and the odyssey.
INFO : 2018-11-19 21:53:43,921 : message popped
INFO : 2018-11-19 21:53:48,921 : successful start loop run
INFO : 2018-11-19 21:53:54,008 : successful start loop run
INFO : 2018-11-19 21:53:59,154 : successful start loop run
INFO : 2018-11-19 21:54:04,242 : successful start loop run
INFO : 2018-11-19 21:54:04,325 : Received input statement: Okay
INFO : 2018-11-19 21:54:04,333 : "Okay" is a known statement
INFO : 2018-11-19 21:54:05,331 : Using "Okay" as a close match to "How angry"
INFO : 2018-11-19 21:54:05,340 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:54:05,340 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:54:05,340 : Response selected. Using "Anger is not an emotion I can experience."
INFO : 2018-11-19 21:54:05,340 : BestMatch selected "Anger is not an emotion I can experience." as a response with a confidence of 0.46
INFO : 2018-11-19 21:54:05,350 : NoKnowledgeAdapter selected "Okay" as a response with a confidence of 0
INFO : 2018-11-19 21:54:05,364 : Adding "Okay" as a response to "Pizza"
INFO : 2018-11-19 21:54:05,694 : message_id = 597
text = Okay
reply = Anger is not an emotion I can experience.
INFO : 2018-11-19 21:54:05,694 : message popped
INFO : 2018-11-19 21:54:10,694 : successful start loop run
INFO : 2018-11-19 21:54:10,776 : Received input statement: Why not
INFO : 2018-11-19 21:54:10,782 : "Why not" is not a known statement
INFO : 2018-11-19 21:54:11,822 : Using "Why not" as a close match to "why guns"
INFO : 2018-11-19 21:54:11,834 : Selecting response from 1 optimal responses.
INFO : 2018-11-19 21:54:11,834 : Selecting first response from list of 1 options.
INFO : 2018-11-19 21:54:11,834 : Response selected. Using "i support the 2nd amendment."
INFO : 2018-11-19 21:54:11,834 : BestMatch selected "i support the 2nd amendment." as a response with a confidence of 0.67
INFO : 2018-11-19 21:54:11,843 : NoKnowledgeAdapter selected "Why not" as a response with a confidence of 0
INFO : 2018-11-19 21:54:11,860 : Adding "Why not" as a response to "Pizza"
INFO : 2018-11-19 21:54:12,149 : message_id = 599
text = Why not
reply = i support the 2nd amendment.
INFO : 2018-11-19 21:54:12,149 : message popped
INFO : 2018-11-19 21:54:17,150 : successful start loop run
INFO : 2018-11-19 21:54:26,019 : successful start loop run
INFO : 2018-11-19 21:54:31,104 : successful start loop run
INFO : 2018-11-19 21:54:36,189 : successful start loop run
INFO : 2018-11-19 21:54:41,270 : successful start loop run
INFO : 2018-11-19 21:54:46,355 : successful start loop run
INFO : 2018-11-19 21:54:51,438 : successful start loop run
INFO : 2018-11-19 21:54:56,548 : successful start loop run
INFO : 2018-11-19 21:55:01,628 : successful start loop run
INFO : 2018-11-19 21:55:06,759 : successful start loop run
INFO : 2018-11-19 21:55:11,888 : successful start loop run
INFO : 2018-11-19 21:55:16,972 : successful start loop run
INFO : 2018-11-19 21:55:22,054 : successful start loop run
INFO : 2018-11-19 21:55:27,138 : successful start loop run
INFO : 2018-11-19 21:55:32,230 : successful start loop run
INFO : 2018-11-19 21:55:37,320 : successful start loop run
INFO : 2018-11-19 21:55:42,406 : successful start loop run
INFO : 2018-11-19 21:55:47,488 : successful start loop run
INFO : 2018-11-19 21:55:52,574 : successful start loop run
INFO : 2018-11-19 21:55:57,660 : successful start loop run
INFO : 2018-11-19 21:56:02,752 : successful start loop run
INFO : 2018-11-19 21:56:07,839 : successful start loop run
INFO : 2018-11-19 21:56:12,925 : successful start loop run
INFO : 2018-11-19 21:56:18,009 : successful start loop run
INFO : 2018-11-19 21:56:23,095 : successful start loop run
INFO : 2018-11-19 21:56:28,174 : successful start loop run
INFO : 2018-11-19 21:56:33,256 : successful start loop run
INFO : 2018-11-19 21:56:38,345 : successful start loop run
INFO : 2018-11-19 21:56:43,432 : successful start loop run
INFO : 2018-11-19 21:56:48,516 : successful start loop run
INFO : 2018-11-19 21:56:53,600 : successful start loop run
INFO : 2018-11-19 21:56:58,682 : successful start loop run
INFO : 2018-11-19 21:57:03,765 : successful start loop run
INFO : 2018-11-19 21:57:08,845 : successful start loop run
INFO : 2018-11-19 21:57:13,928 : successful start loop run
INFO : 2018-11-19 21:57:19,008 : successful start loop run
INFO : 2018-11-19 21:57:24,092 : successful start loop run
INFO : 2018-11-19 21:57:29,172 : successful start loop run
INFO : 2018-11-19 21:57:34,260 : successful start loop run
INFO : 2018-11-19 21:57:39,374 : successful start loop run
INFO : 2018-11-19 21:57:44,462 : successful start loop run
INFO : 2018-11-19 21:57:49,544 : successful start loop run
INFO : 2018-11-19 21:57:54,626 : successful start loop run
INFO : 2018-11-19 21:57:59,708 : successful start loop run
INFO : 2018-11-19 21:58:04,812 : successful start loop run
INFO : 2018-11-19 21:58:09,929 : successful start loop run
INFO : 2018-11-19 21:58:15,029 : successful start loop run
INFO : 2018-11-19 21:58:20,392 : successful start loop run