This website requires JavaScript.
cb630533e4
Improve IGDB search capabilities.
master
Oleksandr Kozachuk
2025-08-09 00:30:08 +0200
d742ab86fa
Fixes and improvements.
Oleksandr Kozachuk
2025-08-09 00:16:37 +0200
38f0479d1e
Implement comprehensive IGDB integration for real-time game information
Oleksandr Kozachuk
2025-08-08 19:57:26 +0200
aab8d06595
Fix hanging tests and improve test reliability
Oleksandr Kozachuk
2025-08-08 19:44:55 +0200
1a5da0ae7c
Add comprehensive test suite to improve coverage and fix igdblib bugs
Oleksandr Kozachuk
2025-08-08 19:34:41 +0200
be8298f015
Remove deprecated OpenAI parameters for GPT-5 compatibility
Oleksandr Kozachuk
2025-08-08 19:18:06 +0200
fbec05dfe9
Fix hanging test and establish comprehensive development environment
Oleksandr Kozachuk
2025-08-08 19:07:14 +0200
fb39aef577
Fix the direct message flag.
Oleksandr Kozachuk
2024-03-17 15:26:37 +0100
0bf1baf341
Fix image handling and do not react to bots or unchanged messages.
Oleksandr Kozachuk
2024-03-17 15:10:35 +0100
cec581495f
Fix message_edit and message_delete reactions.
Oleksandr Kozachuk
2024-03-17 13:55:48 +0100
d65e181308
Add reaction on message delete.
Oleksandr Kozachuk
2024-03-17 13:49:11 +0100
29b0d6efca
Add reaction on message edit.
Oleksandr Kozachuk
2024-03-17 13:46:37 +0100
1bff1c9719
Fix reaction handling.
Oleksandr Kozachuk
2024-03-17 13:25:02 +0100
73d9b9184d
Add support for reactions with emojis.
Oleksandr Kozachuk
2024-03-17 12:39:15 +0100
3bdf9d03c6
Change the way, memory is logged.
Oleksandr Kozachuk
2024-03-17 12:08:00 +0100
36190745c9
Fix and optimize boreness.
Oleksandr Kozachuk
2024-03-17 00:00:00 +0100
53ed068519
Add support of reply and do not get borred if prev message is borred. Manage memory.
Oleksandr Kozachuk
2024-03-16 23:55:29 +0100
d6942943b5
Activate pytest on commit.
Oleksandr Kozachuk
2024-03-16 13:50:09 +0100
0c23da7c9e
Changes.
Oleksandr Kozachuk
2024-03-16 13:44:46 +0100
39d7c48ee3
Remove some debug output.
Oleksandr Kozachuk
2023-12-02 22:36:48 +0100
c010603178
Fix and remove some tests, make openai calls cachable in a file.
Oleksandr Kozachuk
2023-12-02 22:36:00 +0100
7bcadecb17
Solve new API thing differently.
Fjerkroa Auto
2023-11-15 10:23:38 +0100
a2c7aec1e3
Merge branch 'master' of stage.fjerkroa.no:Fjerkroa/discord_bot
Fjerkroa Auto
2023-11-14 10:27:29 +0100
488a8ef174
Support new openai API.
Fjerkroa Auto
2023-11-14 10:27:03 +0100
924daf134f
Improve exponantial back off on leanardo drawing a bit, and log the sleeps.
Oleksandr Kozachuk
2023-08-22 11:30:30 +0200
95bc6ce041
Add possibility to set retry-model, if AI request failes because of limits. Improve error handling in leanardo AI drawing.
Oleksandr Kozachuk
2023-08-22 11:05:17 +0200
17386af950
Fix channel names in answers on history.
Oleksandr Kozachuk
2023-08-21 16:18:37 +0200
96ff52ef8a
Do not start bot with a message in chat.
Fjerkroa Auto
2023-08-21 14:09:56 +0200
93fb2ccc5c
Improve chat-channel management and do not historise welcome question.
Fjerkroa Auto
2023-08-21 13:58:00 +0200
8c718ad272
Do not historise the boreness question.
Oleksandr Kozachuk
2023-08-21 13:38:43 +0200
67f8339cd6
Add boreness thread, the bot get borred with time and say something, even if nobody speak with him.
Oleksandr Kozachuk
2023-08-21 13:29:59 +0200
9d1d99ac50
Try to improve the auto translation.
Oleksandr Kozachuk
2023-08-21 13:28:39 +0200
8a5cef4deb
Add log output, to see which drawing enginge was used.
Fjerkroa Auto
2023-08-19 21:23:41 +0200
4ec20f1b26
Add possibility to use Leonardo.ai for image generation and improve it a bit.
Oleksandr Kozachuk
2023-08-19 16:04:21 +0200
e237800348
Support Leonardo.ai to generate images.
Oleksandr Kozachuk
2023-08-19 14:33:04 +0200
771d965e8c
Fix user names in messages.
Oleksandr Kozachuk
2023-08-18 20:32:04 +0200
1d995c5db4
Fix dependencies.
Fjerkroa Auto
2023-08-18 20:09:43 +0200
7c52896ad9
Switch from PyTOML to tomlkit.
Oleksandr Kozachuk
2023-07-11 14:16:59 +0200
6d9fa0e718
Added exponential backoff on ratelimit error, also print the token usage in output.
Oleksandr Kozachuk
2023-07-11 14:14:38 +0200
112f03a47a
Refactor and improve the code a bit
Oleksandr Kozachuk
2023-04-13 18:57:37 +0200
1ef9439906
Fix mypy errors.
Oleksandr Kozachuk
2023-04-13 18:44:28 +0200
2508a12b44
Fix history limit handling.
Oleksandr Kozachuk
2023-04-13 18:36:06 +0200
79e95ab06c
Fix issue with last refactoring
Oleksandr Kozachuk
2023-04-13 16:16:31 +0200
b0f2f2f6e1
Refactor discord_bot.py code a bit and improve comments
Oleksandr Kozachuk
2023-04-13 16:09:00 +0200
bcfe0e968f
Fix history reducing alghorithm
Oleksandr Kozachuk
2023-04-13 12:58:55 +0200
0791825e01
Improve README.md
Oleksandr Kozachuk
2023-04-13 12:36:13 +0200
92c6d8474b
Output staff and welcome channels found in log.
Fjerkroa Auto
2023-04-12 23:39:17 +0200
08311812e0
Fix staff and welcome channels
Oleksandr Kozachuk
2023-04-12 22:58:53 +0200
b3834681b2
Use get_channel_name function
Oleksandr Kozachuk
2023-04-12 22:50:53 +0200
6074aa4d91
Add some comment
Oleksandr Kozachuk
2023-04-12 22:45:42 +0200
0a9420d156
Fix sending staff messages
Oleksandr Kozachuk
2023-04-12 22:45:11 +0200
2ca528e211
Comment the code a bit
Oleksandr Kozachuk
2023-04-12 22:32:24 +0200
7c029038f6
Output the returned answer from ai to log
Oleksandr Kozachuk
2023-04-12 20:18:14 +0200
6b70292040
Support channel names with # in front.
Oleksandr Kozachuk
2023-04-12 20:14:48 +0200
c8ea88c4e7
Respect ignore-channels when send message
Oleksandr Kozachuk
2023-04-12 20:02:32 +0200
536930d426
Fix shrink history for short path case.
Oleksandr Kozachuk
2023-04-12 19:59:27 +0200
b1a38d5e86
Refactor respond function.
Oleksandr Kozachuk
2023-04-12 19:56:25 +0200
4cfb6c162e
Fix the DMChannel support
Oleksandr Kozachuk
2023-04-12 19:38:20 +0200
203ebe72c1
Accept JSON structure as channel name
Oleksandr Kozachuk
2023-04-12 19:22:45 +0200
b26b98611a
Make the JSON porse a bit more robust.
Oleksandr Kozachuk
2023-04-12 19:19:20 +0200
b1ece64874
Implement possibility to answer to a different channel
Oleksandr Kozachuk
2023-04-12 17:56:31 +0200
defe598651
Improve handling of wrong keys in response
Oleksandr Kozachuk
2023-04-12 12:47:53 +0200
77fe7a69d6
Make history messages per channel configurable
Oleksandr Kozachuk
2023-04-12 12:23:41 +0200
2db983c462
Improve history handling
Oleksandr Kozachuk
2023-04-12 12:19:07 +0200
d136b0af21
Some settings
Oleksandr Kozachuk
2023-04-12 10:28:27 +0200
79fc0d6cba
Do not return "'none'" from parse_maybe_json.
Oleksandr Kozachuk
2023-04-10 15:43:46 +0200
d29595136f
Output the final answer in the log
Oleksandr Kozachuk
2023-04-10 14:41:57 +0200
961e70f17e
See quotet 'none' and 'null' also as None answer.
Oleksandr Kozachuk
2023-04-10 14:34:38 +0200
e6f43b44de
Ignore history directory.
Oleksandr Kozachuk
2023-04-10 13:52:20 +0200
9a411a3fed
Handle messages as direct, when bot is mentioned.
Oleksandr Kozachuk
2023-04-10 13:50:35 +0200
545db1f79d
Add launch.json, don't know, whether it make sense
Oleksandr Kozachuk
2023-04-10 13:38:27 +0200
96fe10f2e4
Add history test.
Oleksandr Kozachuk
2023-04-04 15:35:07 +0200
24ae6bcf32
Convert markdown links to just links.
Oleksandr Kozachuk
2023-03-30 17:33:58 +0200
9eda81d7eb
Improve parse_maybe_json.
Oleksandr Kozachuk
2023-03-30 15:52:11 +0200
585ecc17c6
Parse response values, when they are JSON.
Oleksandr Kozachuk
2023-03-30 15:38:42 +0200
c7d89333ad
On direct messages respond also on ignored channels.
Oleksandr Kozachuk
2023-03-29 20:02:41 +0200
93c5758e02
Some more fixes, reduce retries.
Oleksandr Kozachuk
2023-03-29 19:53:45 +0200
ddc44bb9da
Improve JSON parsing.
Oleksandr Kozachuk
2023-03-29 19:22:54 +0200
7f3cb66043
Improve log output.
Oleksandr Kozachuk
2023-03-29 17:27:32 +0200
cceb0e3ea3
Improve reloading on config change
Fjerkroa Auto
2023-03-29 17:26:43 +0200
e6d13afcca
Reduce timeouts, introduce ignore-channels, fix the fix functions.
Oleksandr Kozachuk
2023-03-28 21:24:49 +0200
a503ee405c
Ignore short path on messages mentioning the bot directly.
Oleksandr Kozachuk
2023-03-27 18:38:56 +0200
2ee2b092d6
Save history on short patch.
Oleksandr Kozachuk
2023-03-27 14:13:10 +0200
2cd66b55ee
Try to fix the fix.
Fjerkroa Auto
2023-03-24 19:14:28 +0100
b82477fc83
Support saving history.
Oleksandr Kozachuk
2023-03-24 18:27:30 +0100
6d2a3d6ac5
Add a test for the fix functionality.
Oleksandr Kozachuk
2023-03-24 17:42:56 +0100
8aab8e2ec8
Small fixes.
Fjerkroa Auto
2023-03-24 18:01:57 +0100
b3edc621f6
Add an optional fix layer to the answer.
Oleksandr Kozachuk
2023-03-24 17:28:56 +0100
592eb0cb2c
Output the wrong data copy&pastable.
Fjerkroa Auto
2023-03-24 16:11:14 +0100
72c7d83766
Fix error handling when JSON can not be parsed.
Fjerkroa Auto
2023-03-24 15:29:13 +0100
78591ef13a
Add support of short path messages, which are not send to the AI but just added to the history.
Oleksandr Kozachuk
2023-03-24 13:42:10 +0100
2e848db333
Suppress embeds in messages.
Oleksandr Kozachuk
2023-03-23 18:50:31 +0100
a781f737b0
Use system description, if no specific channel description is in config.
Fjerkroa Auto
2023-03-23 13:10:38 +0100
7007a0bfd5
Small fixes.
Fjerkroa Auto
2023-03-22 23:49:36 +0100
95e810db7a
Add channel name to the messages, fix things.
Fjerkroa Auto
2023-03-22 23:28:32 +0100
d23e780248
Support different system messages for different channels and own history for those channels.
Oleksandr Kozachuk
2023-03-22 22:16:59 +0100
227b1af986
Fix issue with private messages.
Oleksandr Kozachuk
2023-03-22 22:05:17 +0100
8f2f18b73b
Improve hack handling.
Oleksandr Kozachuk
2023-03-22 21:52:27 +0100
c85153c490
Switch to TOML for config file, fix bugs.
Oleksandr Kozachuk
2023-03-22 21:37:33 +0100
7ed9049892
Support welcome messages.
Oleksandr Kozachuk
2023-03-22 18:49:09 +0100