Skip to content

Commit e99d62f

Browse files
author
Weronika Lajewska
committed
remove Messenger related code
1 parent ee5752b commit e99d62f

File tree

8 files changed

+5
-762
lines changed

8 files changed

+5
-762
lines changed

config/bot_token.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
BOT_TOKEN: <<token>>
2-
MESSENGER_TOKEN: <<token>>
3-
MESSENGER_TEST_TOKEN: <<token>>
4-
MESSENGER_VERIFY_TOKEN: <<token>>
1+
BOT_TOKEN: <<token>>

config/moviebot_config.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ TELEGRAM: False # execute the code on Telegram
1717

1818
POLLING: False # True when using Telegram without server
1919

20-
MESSENGER: False
21-
2220
BOT_TOKEN_PATH: config/bot_token.yaml
2321

2422
BOT_HISTORY: # save the conversational logs for Telegram users

doc/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
IAI MovieBot is a conversational recommender system for movies. *TODO: MORE*
44

5-
It can be tried on the Telegram channel [@IAI_MovieBot](https://t.me/IAI_MovieBot) or on Facebook messenger at *TODO*.
5+
It can be tried on the Telegram channel [@IAI_MovieBot](https://t.me/IAI_MovieBot).
66

77
See the source code on [GitHub](https://github.com/iai-group/moviebot) and the corresponding documentation on [Read the Docs](https://iai-moviebot.readthedocs.io/).
88

moviebot/agent/agent.py

-3
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ def initialize(self, user_id=None):
132132
self.isBot = True
133133
# self.new_user = self.config['new_user'][user_id]
134134

135-
if self.config.get("MESSENGER", True):
136-
self.isBot = True
137-
138135
self.dialogue_manager = DialogueManager(
139136
data_config, self.isBot, self.new_user
140137
)

0 commit comments

Comments
 (0)