124 Commits

Author SHA1 Message Date
60525599f2 fixed old logs not being deleted
for some reason was checking logs dir for .txt files instead of .log files during the delete function.
2024-02-18 22:30:25 +00:00
9399919b08 Removed unused and commented code 2024-02-18 21:43:28 +00:00
2c83430988 added an exception msg handler in pagination data 2024-02-18 21:41:18 +00:00
f167092510 Fixed an exc where the bot didnt have channel perms 2024-02-18 21:40:56 +00:00
805efd0a60 Merge branch 'main' of https://gitea.corbz.dev/corbz/NewsBot 2024-02-17 19:10:00 +00:00
a0921c1859 working on tasks 2024-02-17 19:09:52 +00:00
1cb599af80 Tidy human readable exception embeds 2024-02-16 00:18:43 +00:00
bec33503b5 added author to followup embed 2024-02-16 00:18:13 +00:00
4e3dc174cb working on new api changes into task 2024-02-14 00:21:09 +00:00
1e35751860 Improve the output message for linking subs 2024-02-13 11:22:48 +00:00
42fab012bc subscription links 2024-02-13 00:08:06 +00:00
59fb6f74d0 subscription relation with subscriptionchannel 2024-02-13 00:07:57 +00:00
45f519535a check if formatdata func is coroutine func 2024-02-13 00:07:38 +00:00
08ba995520 Working on new db model integration 2024-02-11 23:52:32 +00:00
ff617b2006 changed api link to use api host env var 2024-02-07 21:24:28 +00:00
edb485a56d temp code removal while making breaking changes 2024-02-07 21:23:12 +00:00
91077270f7 API host as env var 2024-02-07 21:22:45 +00:00
83a889cf61 Merge branch 'main' of https://gitea.corbz.dev/corbz/NewsBot 2024-02-07 09:25:32 +00:00
dd3b125bc8 logdir handling and double quotes over single 2024-02-07 09:22:26 +00:00
d891ca374b Better logdir handling 2024-02-07 09:22:01 +00:00
df15ad07a5 Reusable aiohttp session 2024-02-07 09:21:13 +00:00
5b8ef98eca placeholder api integration 2024-02-07 01:03:00 +00:00
343767c755 pagination emoji integration 1/? 2024-02-07 01:02:42 +00:00
fb432631d3 API code improvements + docstrings 2024-02-06 23:49:31 +00:00
9031cc90c9 fixed issue with reading boolean env var 2024-02-05 22:25:28 +00:00
a5eb297f1b fixed runtime error regarding unpacking dataset 2024-01-31 11:50:17 +00:00
c785e5eeed API token as environment variable
can be included in .env as API_TOKEN
2024-01-31 11:49:49 +00:00
8c35f42a0e Improved pagination view
Removed double API call
added pagesize to API call
added calc_dataitem_index method for properly calculating the index of each data item, given the current page.
2024-01-30 19:29:42 +00:00
f2e10e6584 Merge branch 'main' of https://gitea.corbz.dev/corbz/NewsBot 2024-01-30 13:54:38 +00:00
32df589ed2 API Integration 2024-01-30 13:53:04 +00:00
93fe4ebfce Pagination View 2024-01-30 13:51:54 +00:00
a3850a2646 API Interactions 2024-01-30 13:51:32 +00:00
d8e6e5ba06 development activity status
indicates when the bot is in development mode
2024-01-30 13:51:13 +00:00
8d02605019 Update README.md 2024-01-26 17:52:33 +00:00
1d8ad24569 Merge branch 'main' of https://gitea.corbz.dev/corbz/NewsBot 2023-12-27 09:45:28 +00:00
8421e956a7 Write unittests 2023-12-27 09:44:07 +00:00
b837c54b3f tasks now trigger on set interval
interval is every 10 minutes per day, exactly as the final digit of the minute is 0
2023-12-26 23:46:54 +00:00
eb3547f604 Create pyrss.png 2023-12-24 23:01:52 +00:00
e8d13ae26b Created Followup and move functions to feeds.py 2023-12-24 23:01:48 +00:00
94b7972a38 incomplete commit, used to work on other machine 2023-12-24 16:40:04 +00:00
e95edf08df command perms 2023-12-21 18:27:30 +00:00
03a7617fd3 Removed package deps from requirements 2023-12-21 11:06:38 +00:00
5b8be819e3 Linked feed channels to sent articles 2023-12-21 11:00:02 +00:00
45e5c6a04f admin commands 2023-12-21 00:28:51 +00:00
0e5af1d752 working on tasks 2023-12-20 21:51:57 +00:00
8a1f623c6f help commands, and tasks function 2023-12-20 08:22:37 +00:00
df60652da6 moved channels.py into rss.py 2023-12-19 19:11:44 +00:00
1279bec6aa Working on channel commands 2023-12-19 11:44:32 +00:00
c36133f0d4 rss embeds moved to article dataclass 2023-12-19 00:36:22 +00:00
95f7045afa channel lists command 2023-12-19 00:35:53 +00:00