Spaces:
Runtime error
Runtime error
Commit
·
6982c6a
1
Parent(s):
f6c81a6
channels ids debug
Browse files
discord_bot/client/client.py
CHANGED
@@ -46,7 +46,11 @@ class DiscordClient(discord.Client):
|
|
46 |
'The number of last messages in context should be at least 1'
|
47 |
|
48 |
self.qa_engine: QAEngine = qa_engine
|
|
|
|
|
49 |
self.channel_ids: list[int] = DiscordClient._process_channel_ids(channel_ids)
|
|
|
|
|
50 |
self.num_last_messages: int = num_last_messages
|
51 |
self.use_names_in_context: bool = use_names_in_context
|
52 |
self.enable_commands: bool = enable_commands
|
|
|
46 |
'The number of last messages in context should be at least 1'
|
47 |
|
48 |
self.qa_engine: QAEngine = qa_engine
|
49 |
+
print(f'before parsing: {channel_ids}')
|
50 |
+
print(type(channel_ids))
|
51 |
self.channel_ids: list[int] = DiscordClient._process_channel_ids(channel_ids)
|
52 |
+
print(type(self.channel_ids))
|
53 |
+
print(type(self.channel_ids[0]))
|
54 |
self.num_last_messages: int = num_last_messages
|
55 |
self.use_names_in_context: bool = use_names_in_context
|
56 |
self.enable_commands: bool = enable_commands
|