Commit graph

91 commits

Author SHA1 Message Date
cce082ef67
Bump version to 0.1.0
Improve logging
Black formatting
2023-05-25 12:41:32 +00:00
c188223cea
Whelp. 2023-05-25 12:05:07 +00:00
45c336e609
Fix message sending in newroom command 2023-05-25 10:50:37 +00:00
154e234943
Fix README 2023-05-25 10:17:20 +00:00
55809a9a39
Make it an importable module
Abandon DuckDB in favor of sqlite3
2023-05-25 07:28:28 +00:00
3a1d1ea86a
Merge branch 'justin-russell-bugfixes' 2023-05-20 19:11:54 +00:00
Justin
861b82061f Use suggested migration fix 2023-05-20 11:20:54 -05:00
Justin
b41a9ecd14 Adds retry logic for failed openai requests 2023-05-19 15:37:04 -05:00
Justin
6c97c0f61d Cleanup unused imports 2023-05-19 14:54:51 -05:00
Justin
cdca5fb124 using openai async methods 2023-05-19 14:52:20 -05:00
Justin
f118a23714 Makes OpenAI calls awaitable 2023-05-19 12:43:19 -05:00
Justin
a546e969cc Fix latest migration not applying 2023-05-19 12:06:19 -05:00
Justin
9c2c4d5f6f Run OpenAI calls async 2023-05-19 11:43:57 -05:00
Justin
e200393670 Cleanup unused imports. Fixes a few variables 2023-05-19 11:12:31 -05:00
Justin
8417442d0f Fix migrations off by one 2023-05-19 11:09:06 -05:00
e93072af2e
Simple way of preventing spaces from being added to themselves 2023-05-12 07:54:29 +00:00
50f4a11f00
Implement simple permission system 2023-05-09 12:32:35 +00:00
9f520b7340
Set logo on space creation 2023-05-09 11:57:08 +00:00
cfeaae3fac
Add an AI generated logo
Set logo as room/space avatar
Stay admin when creating a room
Add a settings table to the database
2023-05-09 11:30:51 +00:00
3d32343e54
Add spaces feature 2023-05-09 10:27:03 +00:00
7fbeff9d9c
TrackingMore integration
Fix newroom command
2023-05-05 11:58:57 +00:00
85cfecf88a
Add option for timing message processing
Fixes
2023-05-02 06:58:49 +00:00
ca947383f9
Fix newroom command 2023-05-01 19:27:45 +00:00
551fec9050
Fix README 2023-05-01 16:48:49 +00:00
85a04c4188
Implement quiet mode (not responding to everything)
More README content
"Fixing" auto-joining
2023-05-01 16:47:01 +00:00
1ed989c9b9
Fix README 2023-05-01 15:50:13 +00:00
5b500d34b5
Prepare for option to disable replying to everything
Automatically accept room invites on sync
Leave rooms if everyone else leaves
README update
!gptbot dice command
Minor fixes
2023-05-01 15:49:26 +00:00
e369b63baf
Accept pending invites on sync 2023-05-01 15:04:01 +00:00
5ea32b2295
Slightly improve ordering of commands in help text 2023-05-01 08:43:25 +00:00
e17dff0644
Minor fix, README update 2023-05-01 08:39:59 +00:00
5997ee8ab1
Implement chat message classification
!gptbot roomsettings command
Permit custom commands (!gptbot custom ...)
2023-05-01 08:12:50 +00:00
2fb607310d
Preparation for automatic message classification 2023-05-01 06:11:43 +00:00
bf23771989
Added support for DALL-E and WolframAlpha
New "imagine" and "calculate" commands
Implemented image sending
Moved OpenAI specific code to OpenAI class
Abstracted away OpenAI API in bot class
Minor fixes
2023-04-28 10:01:27 +00:00
9f5e87db4c
Update required Python version
Add -u switch to systemd service unit to make output unbuffered
2023-04-25 16:56:20 +00:00
1dc0378853
Create a bot class
Make everything compatible with that
2023-04-25 11:25:53 +00:00
2bbc6a33ca
Moving migrations to subdirectory
Add option for custom system messages per room
Fixing some methods in store
2023-04-24 08:48:59 +00:00
f20b762558
Some refactoring, starting implementation of encryption 2023-04-23 13:26:46 +00:00
202bed25c6
More updates
Replace bunch of globals with single dictionary
Move commands to subdirectory
Add coin toss command (because)
Add command to ignore previous messages in a room as context
2023-04-19 06:11:28 +00:00
60dc6094e8
A bunch of changes
Switched from sqlite3 to DuckDB
Added comments to config template
Added more options to configuration
Added systemd service file
Added migration logging to database
Added command handling for help, room creation, stats, bot info
Improved context handling
Added some config checks
Added auto-detection of bot's Matrix user ID
Added more info to README
2023-04-17 20:28:29 +00:00
543f8229d2
Fix 2023-04-16 14:29:28 +00:00
67779b8335
Initial working version 2023-04-16 14:08:57 +00:00