160 Commits

Author SHA1 Message Date
9e23acf966 RSSFeed documentation 2024-07-09 23:23:53 +01:00
03551d55e9 RSSItem documentation 2024-07-09 23:17:58 +01:00
d6e6043194 mutator and embed fix 2024-07-09 22:39:57 +01:00
92e9e63e53 dataclass implementation 2024-07-09 18:47:55 +01:00
1f199c36f9 heavy rewrites. (rm old code, improve tasks, etc) 2024-07-08 22:33:03 +01:00
574d54a2eb Update requirements.txt 2024-07-08 22:32:34 +01:00
29ebb2868f fix name error
using 'c' although the variable is assigned to 'char'
2024-07-08 22:32:26 +01:00
3125ccb462 tasks rewrite 2 2024-07-04 20:24:51 +01:00
a74778e047 mutators as classes 2024-07-04 20:24:34 +01:00
bc93b37b9a working on tasks rewrite 2024-07-03 16:40:35 +01:00
e9c805f8ed emoji cipher change 2024-06-29 18:21:39 +01:00
bcb0f2470a length check & embed colour 2024-06-26 15:59:53 +01:00
f7ef7f1b64 Separate mutators for article title/desc 2024-06-25 10:22:35 +01:00
bdc32ac5fa simplified + added mutators 2024-06-19 00:37:58 +01:00
745fda9bbe Mutators 2024-06-18 00:25:14 +01:00
f5766e0390 optimising existing code 2024-06-13 23:13:29 +01:00
59062b68a1 description as author was a bad idea 2024-06-13 08:41:05 +01:00
f9bf15758a articles now set author as source description
oppose to the source name
2024-06-13 00:00:29 +01:00
327fa2b215 implement whitelist filters 2024-06-13 00:00:07 +01:00
43ee2992ff reverse articles list so they are in chronological order 2024-06-12 15:36:23 +01:00
a219c75804 track blocked items 2024-06-11 23:56:03 +01:00
84e72adcd3 fix syntax error, missing comma 2024-06-11 20:48:30 +01:00
8febeae74b use external api host 2024-06-11 20:48:06 +01:00
0df89072d6 filter api and external host- 2024-06-11 20:47:48 +01:00
b97e671c8b filters 2024-06-11 20:47:16 +01:00
864f299d9b debug for stream handler 2024-06-11 01:00:29 +01:00
15cfd66b69 guid for tracked articles 2024-06-11 01:00:12 +01:00
3c1aebc8c7 send content to channels 2024-06-10 22:46:53 +01:00
4f4d827d3c compatability with api 2024-06-07 17:36:54 +01:00
307d341ec2 fix add & list commands for api changes 2024-03-13 17:24:43 +00:00
7e9e60b782 update requirements 2024-03-13 17:24:14 +00:00
0b74be871b use dataclass slots 2024-02-26 22:22:14 +00:00
58eb43a1bf Mute discord logger to INFO level
debug logs from discord.py library are too frequent and long
2024-02-26 22:22:00 +00:00
a9ccf0f791 Greatly improved logging
now using a config file for logging to the terminal and log file

---

Also added custom exception for a missing token.
2024-02-26 18:08:01 +00:00
9a2da70e38 added delete api call for unlink cmd 2024-02-21 23:45:57 +00:00
de1f16549c code simplification
moved format code into properties on the dataclasses.

Added pagesize as a requirement to the formatdata func.
2024-02-19 09:06:21 +00:00
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