openai/gpt-discord-bot
Example Discord bot written in Python that uses the completions API to have conversations with the `text-davinci-003` model, and the moderations API to filter the messages.
GitHub 
0.7K
lines of main code
9 files
0
lines of test code
0 files
0.08K
lines of other code
4 files
4y
age
1,387 days
0%
main code touched
1 year (0 LOC)
ABCDE
ease of change
for people* (7/10)
ABCDE
ease of change
for AI* (7/9)
0.7K
py
0.02K
yaml
30 days 2026 2025 2024 2023 2022
+0
-0
 
 
 
 
 
 
+137
-31
+733
-16
0

0

0

0

10

13

0

0

0

0

4

3

0

0

0

0

2

2

2026 2025 2024 2023 2022
Rule-of-thumb estimates

Rebuild value

to rebuild
rebuild value

Maintenance effort

per year to maintain
maintenance cost per year
Rules of thumb, not measurements: one man-year rebuilds about 10,000 lines of main code (design, testing and coordination included), and keeping a code base alive takes about 15% of its rebuild value per year (20 man-years of rebuild value need about 3 man-years of maintenance every year). Your changes are remembered in this browser for every report.