aa-rss-to-discord 2.2.0__py3-none-any.whl → 2.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,5 +5,5 @@ App init
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.2.0"
8
+ __version__ = "2.3.1"
9
9
  __title__ = _("RSS to Discord")
@@ -2,17 +2,12 @@
2
2
  constants
3
3
  """
4
4
 
5
- # Django
6
- from django.utils.text import slugify
5
+ # Third Party
6
+ from feedparser import USER_AGENT as feedparser_user_agent
7
7
 
8
8
  # AA RSS to Discord
9
9
  from aa_rss_to_discord import __version__
10
10
 
11
- VERBOSE_NAME = (
12
- "AA RSS To Discord - Alliance Auth "
13
- "module to post news from RSS feeds to your Discord"
14
- )
15
-
16
- verbose_name_slugified: str = slugify(VERBOSE_NAME, allow_unicode=True)
17
- github_url: str = "https://github.com/ppfeufer/aa-rss-to-discord"
18
- USER_AGENT = f"{verbose_name_slugified} v{__version__} {github_url}"
11
+ APP_NAME = "aa-rss-to-discord"
12
+ GITHUB_URL = f"https://github.com/ppfeufer/{APP_NAME}"
13
+ USER_AGENT = f"{APP_NAME}/{__version__} +{GITHUB_URL} via {feedparser_user_agent}"
@@ -6,9 +6,9 @@
6
6
  import logging
7
7
 
8
8
  # Third Party
9
- import discord
10
- from aadiscordbot.cogs.utils.decorators import sender_is_admin
9
+ from aadiscordbot import app_settings
11
10
  from aadiscordbot.models import Channels, Servers
11
+ from discord.commands import SlashCommandGroup, option
12
12
  from discord.ext import commands
13
13
 
14
14
  # Django
@@ -29,25 +29,39 @@ class Rss(commands.Cog):
29
29
  def __init__(self, bot):
30
30
  self.bot = bot
31
31
 
32
- @commands.command(pass_context=True)
33
- @sender_is_admin()
34
- async def rss_add(self, ctx, rss_url: str = None, *, rss_name: str = None):
32
+ admin_commands = SlashCommandGroup(
33
+ "rss", "RSS Admin Commands", guild_ids=app_settings.get_all_servers()
34
+ )
35
+
36
+ @admin_commands.command(name="add", guild_ids=app_settings.get_all_servers())
37
+ @option("rss_url", description="The URL to the RSS/Atom feed")
38
+ @option("rss_name", description="A descriptive name for the RSS/Atom feed")
39
+ async def rss_add(self, ctx, rss_url: str, rss_name: str):
35
40
  """
36
- Adding a RSS/Atom feed to the current Discord channel
41
+ Adding an RSS/Atom feed to the current Discord channel
37
42
  """
38
43
 
39
44
  await ctx.trigger_typing()
40
45
 
46
+ if ctx.author.id not in app_settings.get_admins():
47
+ return await ctx.respond(
48
+ "You do not have permission to use this command",
49
+ ephemeral=True,
50
+ )
51
+
41
52
  if rss_url is None or rss_name is None:
42
- return await ctx.send(
43
- "To add a RSS/Atom feed to this channel, "
44
- "please use the following syntax.\n\n"
45
- "```!rss_add rss_url rss_name```\n\n"
46
- "Both arguments are required."
53
+ return await ctx.respond(
54
+ (
55
+ "To add a RSS/Atom feed to this channel, "
56
+ "please use the following syntax.\n\n"
57
+ "```/rss add rss_url rss_name```\n\n"
58
+ "Both arguments are required."
59
+ ),
60
+ ephemeral=True,
47
61
  )
48
62
 
49
- channel_name = ctx.message.channel.name
50
- channel_id = ctx.message.channel.id
63
+ channel_name = ctx.channel.name
64
+ channel_id = ctx.channel.id
51
65
  server_name = ctx.guild.name
52
66
  server_id = ctx.guild.id
53
67
 
@@ -57,14 +71,15 @@ class Rss(commands.Cog):
57
71
  try:
58
72
  validate_url(rss_url)
59
73
  except ValidationError:
60
- return await ctx.send("The URL provided is not valid!")
74
+ return await ctx.respond("The URL provided is not valid!", ephemeral=True)
61
75
 
62
76
  # Check if there is already a RSS/Atom feed with this URL for this channel
63
77
  if RssFeeds.objects.filter(
64
78
  url__iexact=rss_url, discord_channel_id__exact=channel_id
65
79
  ).exists():
66
- return await ctx.send(
67
- "A RSS/Atom feed with this URL already exists for this channel"
80
+ return await ctx.respond(
81
+ "A RSS/Atom feed with this URL already exists for this channel",
82
+ ephemeral=True,
68
83
  )
69
84
 
70
85
  # Check if the current server and channel are already
@@ -82,10 +97,11 @@ class Rss(commands.Cog):
82
97
  url=rss_url, name=rss_name, discord_channel_id=channel_id, enabled=True
83
98
  ).save()
84
99
 
85
- return await ctx.send(f'RSS/Atom feed "{rss_name}" added to this channel')
100
+ return await ctx.respond(
101
+ f'RSS/Atom feed "{rss_name}" added to this channel', ephemeral=True
102
+ )
86
103
 
87
- @commands.command(pass_context=True)
88
- @sender_is_admin()
104
+ @admin_commands.command(name="list", guild_ids=app_settings.get_all_servers())
89
105
  async def rss_list(self, ctx):
90
106
  """
91
107
  List all RSS/Atom feeds for the current Discord channel
@@ -93,7 +109,13 @@ class Rss(commands.Cog):
93
109
 
94
110
  await ctx.trigger_typing()
95
111
 
96
- channel_id = ctx.message.channel.id
112
+ if ctx.author.id not in app_settings.get_admins():
113
+ return await ctx.respond(
114
+ "You do not have permission to use this command",
115
+ ephemeral=True,
116
+ )
117
+
118
+ channel_id = ctx.channel.id
97
119
  payload = "No RSS/Atom feeds have been registered for this channel."
98
120
  rss_feeds = RssFeeds.objects.filter(discord_channel_id__exact=channel_id)
99
121
 
@@ -114,18 +136,27 @@ class Rss(commands.Cog):
114
136
 
115
137
  payload += "```"
116
138
 
117
- return await ctx.send(payload)
139
+ return await ctx.respond(payload, ephemeral=True)
118
140
 
119
- @commands.command(pass_context=True)
120
- @sender_is_admin()
141
+ @admin_commands.command(name="delete", guild_ids=app_settings.get_all_servers())
142
+ @option(
143
+ "rss_feed_id",
144
+ description="The ID of the RSS/Atom feed to delete. (Get it from the list command)",
145
+ )
121
146
  async def rss_delete(self, ctx, rss_feed_id: int):
122
147
  """
123
- Remove a RSS/Atom feed from the current Discord channel
148
+ Remove an RSS/Atom feed from the current Discord channel
124
149
  """
125
150
 
126
151
  await ctx.trigger_typing()
127
152
 
128
- channel_id = ctx.message.channel.id
153
+ if ctx.author.id not in app_settings.get_admins():
154
+ return await ctx.respond(
155
+ "You do not have permission to use this command",
156
+ ephemeral=True,
157
+ )
158
+
159
+ channel_id = ctx.channel.id
129
160
 
130
161
  try:
131
162
  rss_feed = RssFeeds.objects.get(
@@ -142,37 +173,13 @@ class Rss(commands.Cog):
142
173
  except RssFeeds.DoesNotExist:
143
174
  payload = "This RSS/Atom feed does not exist in this Discord channel."
144
175
 
145
- return await ctx.send(payload)
176
+ return await ctx.respond(payload, ephemeral=True)
146
177
 
147
- @rss_delete.error
148
- async def rss_delete_error(self, ctx, error):
149
- """
150
- Delete error
151
-
152
- :param ctx:
153
- :type ctx:
154
- :param error:
155
- :type error:
156
- :return:
157
- :rtype:
158
- """
159
-
160
- if isinstance(
161
- error,
162
- (
163
- discord.ext.commands.CommandInvokeError,
164
- discord.ext.commands.errors.MissingRequiredArgument,
165
- ),
166
- ):
167
- await ctx.send(
168
- "You didn't provide a numeric value for the RSS/Atom ID you want to "
169
- "remove.\n\nExample:\n```!rss_delete 5```To remove RSS/Atom feed "
170
- "wth the ID 5.\nYou find a list of RSS/Atom feeds for this channel "
171
- "with `!rss_list`"
172
- )
173
-
174
- @commands.command(pass_context=True)
175
- @sender_is_admin()
178
+ @admin_commands.command(name="enable", guild_ids=app_settings.get_all_servers())
179
+ @option(
180
+ "rss_feed_id",
181
+ description="The ID of the RSS/Atom feed to delete. (Get it from the list command)",
182
+ )
176
183
  async def rss_enable(self, ctx, rss_feed_id: int):
177
184
  """
178
185
  Enable a disabled RSS/Atom feed for the current Discord channel
@@ -180,7 +187,13 @@ class Rss(commands.Cog):
180
187
 
181
188
  await ctx.trigger_typing()
182
189
 
183
- channel_id = ctx.message.channel.id
190
+ if ctx.author.id not in app_settings.get_admins():
191
+ return await ctx.respond(
192
+ "You do not have permission to use this command",
193
+ ephemeral=True,
194
+ )
195
+
196
+ channel_id = ctx.channel.id
184
197
 
185
198
  try:
186
199
  rss_feed = RssFeeds.objects.get(
@@ -196,37 +209,13 @@ class Rss(commands.Cog):
196
209
  except RssFeeds.DoesNotExist:
197
210
  payload = "This RSS/Atom feed does not exist in this Discord channel."
198
211
 
199
- return await ctx.send(payload)
200
-
201
- @rss_enable.error
202
- async def rss_enable_error(self, ctx, error):
203
- """
204
- Enable error
205
-
206
- :param ctx:
207
- :type ctx:
208
- :param error:
209
- :type error:
210
- :return:
211
- :rtype:
212
- """
212
+ return await ctx.respond(payload, ephemeral=True)
213
213
 
214
- if isinstance(
215
- error,
216
- (
217
- discord.ext.commands.CommandInvokeError,
218
- discord.ext.commands.errors.MissingRequiredArgument,
219
- ),
220
- ):
221
- await ctx.send(
222
- "You didn't provide a numeric value for the RSS/Atom ID you want to "
223
- "enable.\n\nExample:\n```!rss_enable 5```To enable RSS/Atom feed wth "
224
- "the ID 5.\nYou find a list of RSS/Atom feeds for this channel "
225
- "with `!rss_list`"
226
- )
227
-
228
- @commands.command(pass_context=True)
229
- @sender_is_admin()
214
+ @admin_commands.command(name="disable", guild_ids=app_settings.get_all_servers())
215
+ @option(
216
+ "rss_feed_id",
217
+ description="The ID of the RSS/Atom feed to delete. (Get it from the list command)",
218
+ )
230
219
  async def rss_disable(self, ctx, rss_feed_id: int):
231
220
  """
232
221
  Disable an enabled RSS/Atom feed for the current Discord channel
@@ -234,7 +223,13 @@ class Rss(commands.Cog):
234
223
 
235
224
  await ctx.trigger_typing()
236
225
 
237
- channel_id = ctx.message.channel.id
226
+ if ctx.author.id not in app_settings.get_admins():
227
+ return await ctx.respond(
228
+ "You do not have permission to use this command",
229
+ ephemeral=True,
230
+ )
231
+
232
+ channel_id = ctx.channel.id
238
233
 
239
234
  try:
240
235
  rss_feed = RssFeeds.objects.get(
@@ -250,34 +245,7 @@ class Rss(commands.Cog):
250
245
  except RssFeeds.DoesNotExist:
251
246
  payload = "This RSS/Atom feed does not exist in this Discord channel."
252
247
 
253
- return await ctx.send(payload)
254
-
255
- @rss_disable.error
256
- async def rss_disable_error(self, ctx, error):
257
- """
258
- Disable error
259
-
260
- :param ctx:
261
- :type ctx:
262
- :param error:
263
- :type error:
264
- :return:
265
- :rtype:
266
- """
267
-
268
- if isinstance(
269
- error,
270
- (
271
- discord.ext.commands.CommandInvokeError,
272
- discord.ext.commands.errors.MissingRequiredArgument,
273
- ),
274
- ):
275
- await ctx.send(
276
- "You didn't provide a numeric value for the RSS/Atom ID you want to "
277
- "enable.\n\nExample:\n```!rss_disable 5```To disable RSS/Atom feed "
278
- "wth the ID 5.\nYou find a list of RSS/Atom feeds for this channel "
279
- "with `!rss_list`"
280
- )
248
+ return await ctx.respond(payload, ephemeral=True)
281
249
 
282
250
 
283
251
  def setup(bot):
@@ -5,37 +5,35 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2024-03-20 17:13+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Czech <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/cs/>\n"
13
+ "Language-Team: Czech <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/cs/>\n"
15
14
  "Language: cs_CZ\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
18
17
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
20
- "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
18
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
21
19
  "X-Generator: Weblate 5.5.3\n"
22
20
 
23
21
  #: aa_rss_to_discord/__init__.py:9
24
22
  msgid "RSS to Discord"
25
23
  msgstr ""
26
24
 
27
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
28
26
  msgid "RSS Feed"
29
27
  msgstr ""
30
28
 
31
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
32
30
  msgid "RSS Feeds"
33
31
  msgstr ""
34
32
 
35
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
36
34
  msgid "Last Item"
37
35
  msgstr ""
38
36
 
39
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
40
38
  msgid "Last Items"
41
39
  msgstr ""
@@ -4,13 +4,12 @@
4
4
  # "H. Peter Pfeufer" <info@ppfeufer.de>, 2023, 2024.
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: PACKAGE VERSION\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
7
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
8
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
9
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
- "Language-Team: German <https://weblate.ppfeufer.de/projects/"
13
- "alliance-auth-apps/aa-rss-to-discord/de/>\n"
12
+ "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/de/>\n"
14
13
  "Language: de\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,18 +21,18 @@ msgstr ""
22
21
  msgid "RSS to Discord"
23
22
  msgstr "RSS zu Discord"
24
23
 
25
- #: aa_rss_to_discord/models.py:41
24
+ #: aa_rss_to_discord/models.py:44
26
25
  msgid "RSS Feed"
27
26
  msgstr "RSS Feed"
28
27
 
29
- #: aa_rss_to_discord/models.py:42
28
+ #: aa_rss_to_discord/models.py:45
30
29
  msgid "RSS Feeds"
31
30
  msgstr "RSS Feeds"
32
31
 
33
- #: aa_rss_to_discord/models.py:69
32
+ #: aa_rss_to_discord/models.py:72
34
33
  msgid "Last Item"
35
34
  msgstr "Letztes Element"
36
35
 
37
- #: aa_rss_to_discord/models.py:70
36
+ #: aa_rss_to_discord/models.py:73
38
37
  msgid "Last Items"
39
38
  msgstr "Letzte Elemente"
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-09-16 12:34+0200\n"
9
+ "Project-Id-Version: AA RSS to Discord 2.3.1\n"
10
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
11
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -21,18 +21,18 @@ msgstr ""
21
21
  msgid "RSS to Discord"
22
22
  msgstr ""
23
23
 
24
- #: aa_rss_to_discord/models.py:41
24
+ #: aa_rss_to_discord/models.py:44
25
25
  msgid "RSS Feed"
26
26
  msgstr ""
27
27
 
28
- #: aa_rss_to_discord/models.py:42
28
+ #: aa_rss_to_discord/models.py:45
29
29
  msgid "RSS Feeds"
30
30
  msgstr ""
31
31
 
32
- #: aa_rss_to_discord/models.py:69
32
+ #: aa_rss_to_discord/models.py:72
33
33
  msgid "Last Item"
34
34
  msgstr ""
35
35
 
36
- #: aa_rss_to_discord/models.py:70
36
+ #: aa_rss_to_discord/models.py:73
37
37
  msgid "Last Items"
38
38
  msgstr ""
@@ -4,13 +4,12 @@
4
4
  # Zigor Fernandez Moreno <sietehierros@gmail.com>, 2023, 2024.
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: PACKAGE VERSION\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
7
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
8
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
9
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
11
11
  "Last-Translator: Zigor Fernandez Moreno <sietehierros@gmail.com>\n"
12
- "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/"
13
- "alliance-auth-apps/aa-rss-to-discord/es/>\n"
12
+ "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/es/>\n"
14
13
  "Language: es\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,18 +21,18 @@ msgstr ""
22
21
  msgid "RSS to Discord"
23
22
  msgstr ""
24
23
 
25
- #: aa_rss_to_discord/models.py:41
24
+ #: aa_rss_to_discord/models.py:44
26
25
  msgid "RSS Feed"
27
26
  msgstr "RSS Feed"
28
27
 
29
- #: aa_rss_to_discord/models.py:42
28
+ #: aa_rss_to_discord/models.py:45
30
29
  msgid "RSS Feeds"
31
30
  msgstr "RSS Feeds"
32
31
 
33
- #: aa_rss_to_discord/models.py:69
32
+ #: aa_rss_to_discord/models.py:72
34
33
  msgid "Last Item"
35
34
  msgstr "Último artículo"
36
35
 
37
- #: aa_rss_to_discord/models.py:70
36
+ #: aa_rss_to_discord/models.py:73
38
37
  msgid "Last Items"
39
38
  msgstr "Últimos artículos"
@@ -6,13 +6,12 @@
6
6
  # Mickael Gr4vity <patte.mickael@gmail.com>, 2024.
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
9
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
10
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
11
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
12
12
  "PO-Revision-Date: 2024-08-31 02:58+0000\n"
13
13
  "Last-Translator: Mickael Gr4vity <patte.mickael@gmail.com>\n"
14
- "Language-Team: French <https://weblate.ppfeufer.de/projects/"
15
- "alliance-auth-apps/aa-rss-to-discord/fr/>\n"
14
+ "Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/fr/>\n"
16
15
  "Language: fr_FR\n"
17
16
  "MIME-Version: 1.0\n"
18
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -24,18 +23,18 @@ msgstr ""
24
23
  msgid "RSS to Discord"
25
24
  msgstr "RSS vers Discord"
26
25
 
27
- #: aa_rss_to_discord/models.py:41
26
+ #: aa_rss_to_discord/models.py:44
28
27
  msgid "RSS Feed"
29
28
  msgstr "Flux RSS"
30
29
 
31
- #: aa_rss_to_discord/models.py:42
30
+ #: aa_rss_to_discord/models.py:45
32
31
  msgid "RSS Feeds"
33
32
  msgstr "Flux RSS"
34
33
 
35
- #: aa_rss_to_discord/models.py:69
34
+ #: aa_rss_to_discord/models.py:72
36
35
  msgid "Last Item"
37
36
  msgstr "Dernier objet"
38
37
 
39
- #: aa_rss_to_discord/models.py:70
38
+ #: aa_rss_to_discord/models.py:73
40
39
  msgid "Last Items"
41
40
  msgstr ""
@@ -5,13 +5,12 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Italian <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/it/>\n"
13
+ "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/it/>\n"
15
14
  "Language: it_IT\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -23,18 +22,18 @@ msgstr ""
23
22
  msgid "RSS to Discord"
24
23
  msgstr ""
25
24
 
26
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
27
26
  msgid "RSS Feed"
28
27
  msgstr ""
29
28
 
30
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
31
30
  msgid "RSS Feeds"
32
31
  msgstr ""
33
32
 
34
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
35
34
  msgid "Last Item"
36
35
  msgstr ""
37
36
 
38
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
39
38
  msgid "Last Items"
40
39
  msgstr ""
@@ -4,13 +4,12 @@
4
4
  # Anata_no_Usiro <yt23542354m@gmail.com>, 2024.
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: PACKAGE VERSION\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
7
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
8
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
9
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
10
10
  "PO-Revision-Date: 2024-08-05 10:10+0000\n"
11
11
  "Last-Translator: Anata_no_Usiro <yt23542354m@gmail.com>\n"
12
- "Language-Team: Japanese <https://weblate.ppfeufer.de/projects/"
13
- "alliance-auth-apps/aa-rss-to-discord/ja/>\n"
12
+ "Language-Team: Japanese <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/ja/>\n"
14
13
  "Language: ja\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,18 +21,18 @@ msgstr ""
22
21
  msgid "RSS to Discord"
23
22
  msgstr "RSS から Discord へ"
24
23
 
25
- #: aa_rss_to_discord/models.py:41
24
+ #: aa_rss_to_discord/models.py:44
26
25
  msgid "RSS Feed"
27
26
  msgstr "RSS フィード"
28
27
 
29
- #: aa_rss_to_discord/models.py:42
28
+ #: aa_rss_to_discord/models.py:45
30
29
  msgid "RSS Feeds"
31
30
  msgstr "複数のRSS フィード"
32
31
 
33
- #: aa_rss_to_discord/models.py:69
32
+ #: aa_rss_to_discord/models.py:72
34
33
  msgid "Last Item"
35
34
  msgstr "最後のアイテム"
36
35
 
37
- #: aa_rss_to_discord/models.py:70
36
+ #: aa_rss_to_discord/models.py:73
38
37
  msgid "Last Items"
39
38
  msgstr "複数の最後のアイテム"
@@ -5,13 +5,12 @@
5
5
  # Hue Radient <seataoji@gmail.com>, 2024.
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Hue Radient <seataoji@gmail.com>\n"
13
- "Language-Team: Korean <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/ko/>\n"
13
+ "Language-Team: Korean <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/ko/>\n"
15
14
  "Language: ko_KR\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -23,18 +22,18 @@ msgstr ""
23
22
  msgid "RSS to Discord"
24
23
  msgstr "디스코드로 RSS피드보내기"
25
24
 
26
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
27
26
  msgid "RSS Feed"
28
27
  msgstr "RSS 피드"
29
28
 
30
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
31
30
  msgid "RSS Feeds"
32
31
  msgstr "RSS 피드"
33
32
 
34
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
35
34
  msgid "Last Item"
36
35
  msgstr "마지막 항목"
37
36
 
38
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
39
38
  msgid "Last Items"
40
39
  msgstr "마지막 항목"
@@ -5,13 +5,12 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2024-03-20 17:13+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Dutch <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/nl/>\n"
13
+ "Language-Team: Dutch <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/nl/>\n"
15
14
  "Language: nl_NL\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -23,18 +22,18 @@ msgstr ""
23
22
  msgid "RSS to Discord"
24
23
  msgstr ""
25
24
 
26
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
27
26
  msgid "RSS Feed"
28
27
  msgstr ""
29
28
 
30
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
31
30
  msgid "RSS Feeds"
32
31
  msgstr ""
33
32
 
34
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
35
34
  msgid "Last Item"
36
35
  msgstr ""
37
36
 
38
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
39
38
  msgid "Last Items"
40
39
  msgstr ""
@@ -5,37 +5,35 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2024-03-20 17:13+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Polish <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/pl/>\n"
13
+ "Language-Team: Polish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/pl/>\n"
15
14
  "Language: pl_PL\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
18
17
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20
- "|| n%100>=20) ? 1 : 2;\n"
18
+ "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
19
  "X-Generator: Weblate 5.5.3\n"
22
20
 
23
21
  #: aa_rss_to_discord/__init__.py:9
24
22
  msgid "RSS to Discord"
25
23
  msgstr ""
26
24
 
27
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
28
26
  msgid "RSS Feed"
29
27
  msgstr ""
30
28
 
31
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
32
30
  msgid "RSS Feeds"
33
31
  msgstr ""
34
32
 
35
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
36
34
  msgid "Last Item"
37
35
  msgstr ""
38
36
 
39
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
40
38
  msgid "Last Items"
41
39
  msgstr ""
@@ -5,37 +5,35 @@
5
5
  # Dromiel <dimhry@yandex.ru>, 2024.
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Dromiel <dimhry@yandex.ru>\n"
13
- "Language-Team: Russian <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/ru/>\n"
13
+ "Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/ru/>\n"
15
14
  "Language: ru\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
18
17
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : "
20
- "n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
19
  "X-Generator: Weblate 5.5.3\n"
22
20
 
23
21
  #: aa_rss_to_discord/__init__.py:9
24
22
  msgid "RSS to Discord"
25
23
  msgstr "RSS к Дискорду"
26
24
 
27
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
28
26
  msgid "RSS Feed"
29
27
  msgstr "RSS лента"
30
28
 
31
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
32
30
  msgid "RSS Feeds"
33
31
  msgstr "RSS ленты"
34
32
 
35
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
36
34
  msgid "Last Item"
37
35
  msgstr "Последний элемент"
38
36
 
39
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
40
38
  msgid "Last Items"
41
39
  msgstr "Последние элементы"
@@ -5,37 +5,35 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2024-03-20 17:13+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Slovak <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/sk/>\n"
13
+ "Language-Team: Slovak <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/sk/>\n"
15
14
  "Language: sk\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
18
17
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n "
20
- ">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
21
19
  "X-Generator: Weblate 5.5.3\n"
22
20
 
23
21
  #: aa_rss_to_discord/__init__.py:9
24
22
  msgid "RSS to Discord"
25
23
  msgstr ""
26
24
 
27
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
28
26
  msgid "RSS Feed"
29
27
  msgstr ""
30
28
 
31
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
32
30
  msgid "RSS Feeds"
33
31
  msgstr ""
34
32
 
35
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
36
34
  msgid "Last Item"
37
35
  msgstr ""
38
36
 
39
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
40
38
  msgid "Last Items"
41
39
  msgstr ""
@@ -4,37 +4,35 @@
4
4
  # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: PACKAGE VERSION\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
7
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
8
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
9
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
11
11
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
12
- "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/"
13
- "alliance-auth-apps/aa-rss-to-discord/uk/>\n"
12
+ "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/uk/>\n"
14
13
  "Language: uk\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
17
16
  "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : "
19
- "n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
+ "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
18
  "X-Generator: Weblate 5.5.3\n"
21
19
 
22
20
  #: aa_rss_to_discord/__init__.py:9
23
21
  msgid "RSS to Discord"
24
22
  msgstr ""
25
23
 
26
- #: aa_rss_to_discord/models.py:41
24
+ #: aa_rss_to_discord/models.py:44
27
25
  msgid "RSS Feed"
28
26
  msgstr "RSS-канал"
29
27
 
30
- #: aa_rss_to_discord/models.py:42
28
+ #: aa_rss_to_discord/models.py:45
31
29
  msgid "RSS Feeds"
32
30
  msgstr "RSS-канали"
33
31
 
34
- #: aa_rss_to_discord/models.py:69
32
+ #: aa_rss_to_discord/models.py:72
35
33
  msgid "Last Item"
36
34
  msgstr "Останній елемент"
37
35
 
38
- #: aa_rss_to_discord/models.py:70
36
+ #: aa_rss_to_discord/models.py:73
39
37
  msgid "Last Items"
40
38
  msgstr "Останні Елемети"
@@ -5,13 +5,12 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2023-11-15 18:12+0100\n"
8
+ "Project-Id-Version: AA RSS to Discord 2.2.0\n"
9
+ "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-rss-to-discord/issues\n"
10
+ "POT-Creation-Date: 2025-04-09 11:40+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:10+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
- "Language-Team: Chinese (Simplified) <https://weblate.ppfeufer.de/projects/"
14
- "alliance-auth-apps/aa-rss-to-discord/zh_Hans/>\n"
13
+ "Language-Team: Chinese (Simplified) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-rss-to-discord/zh_Hans/>\n"
15
14
  "Language: zh_Hans\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -23,18 +22,18 @@ msgstr ""
23
22
  msgid "RSS to Discord"
24
23
  msgstr ""
25
24
 
26
- #: aa_rss_to_discord/models.py:41
25
+ #: aa_rss_to_discord/models.py:44
27
26
  msgid "RSS Feed"
28
27
  msgstr ""
29
28
 
30
- #: aa_rss_to_discord/models.py:42
29
+ #: aa_rss_to_discord/models.py:45
31
30
  msgid "RSS Feeds"
32
31
  msgstr ""
33
32
 
34
- #: aa_rss_to_discord/models.py:69
33
+ #: aa_rss_to_discord/models.py:72
35
34
  msgid "Last Item"
36
35
  msgstr ""
37
36
 
38
- #: aa_rss_to_discord/models.py:70
37
+ #: aa_rss_to_discord/models.py:73
39
38
  msgid "Last Items"
40
39
  msgstr ""
@@ -2,6 +2,9 @@
2
2
  Our Models
3
3
  """
4
4
 
5
+ # Standard Library
6
+ from typing import ClassVar
7
+
5
8
  # Third Party
6
9
  from aadiscordbot.models import Channels
7
10
 
@@ -30,7 +33,7 @@ class RssFeeds(models.Model):
30
33
  )
31
34
  enabled = models.BooleanField(default=True)
32
35
 
33
- objects = RssFeedsManager()
36
+ objects: ClassVar[RssFeedsManager] = RssFeedsManager()
34
37
 
35
38
  class Meta:
36
39
  """
@@ -40,18 +40,18 @@ def remove_emoji(string):
40
40
 
41
41
  emoji_pattern = re.compile(
42
42
  pattern="["
43
- "\U0001F600-\U0001F64F" # Emoticons
44
- "\U0001F300-\U0001F5FF" # Symbols & pictographs
45
- "\U0001F680-\U0001F6FF" # Transport & map symbols
46
- "\U0001F1E0-\U0001F1FF" # Flags (iOS)
47
- "\U00002500-\U00002BEF" # Chinese char
48
- "\U00002702-\U000027B0"
49
- "\U00002702-\U000027B0"
50
- "\U000024C2-\U0001F251"
43
+ "\U0001f600-\U0001f64f" # Emoticons
44
+ "\U0001f300-\U0001f5ff" # Symbols & pictographs
45
+ "\U0001f680-\U0001f6ff" # Transport & map symbols
46
+ "\U0001f1e0-\U0001f1ff" # Flags (iOS)
47
+ "\U00002500-\U00002bef" # Chinese char
48
+ "\U00002702-\U000027b0"
49
+ "\U00002702-\U000027b0"
50
+ "\U000024c2-\U0001f251"
51
51
  "\U0001f926-\U0001f937"
52
52
  "\U00010000-\U0010ffff"
53
53
  "\u2640-\u2642"
54
- "\u2600-\u2B55"
54
+ "\u2600-\u2b55"
55
55
  "\u200d"
56
56
  "\u23cf"
57
57
  "\u23e9"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: aa-rss-to-discord
3
- Version: 2.2.0
3
+ Version: 2.3.1
4
4
  Summary: Alliance Auth module to post news from RSS feeds to your Discord
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-rss-to-discord/blob/master/README.md
@@ -696,6 +696,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
696
696
  Classifier: Programming Language :: Python :: 3.10
697
697
  Classifier: Programming Language :: Python :: 3.11
698
698
  Classifier: Programming Language :: Python :: 3.12
699
+ Classifier: Programming Language :: Python :: 3.13
699
700
  Classifier: Topic :: Internet :: WWW/HTTP
700
701
  Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
701
702
  Requires-Python: >=3.10
@@ -729,20 +730,19 @@ A simple app to post selected RSS feeds to your Discord.
729
730
 
730
731
  ______________________________________________________________________
731
732
 
732
- <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=1 -->
733
-
734
- - [Alliance Auth RSS to Discord](#alliance-auth-rss-to-discord)
735
- - [Installation](#installation)
736
- - [Step 0.5: Install AA-Discordbot](#step-05-install-aa-discordbot)
737
- - [Step 1: Install the Package](#step-1-install-the-package)
738
- - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
739
- - [Step 3: Finalizing the Installation](#step-3-finalizing-the-installation)
740
- - [Step 4: Configure your RSS Feeds](#step-4-configure-your-rss-feeds)
741
- - [Discord Bot Commands](#discord-bot-commands)
742
- - [Updating](#updating)
743
- - [Changelog](#changelog)
744
- - [Translation Status](#translation-status)
745
- - [Contributing](#contributing)
733
+ <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=2 -->
734
+
735
+ - [Installation](#installation)
736
+ - [Step 0.5: Install AA-Discordbot](#step-05-install-aa-discordbot)
737
+ - [Step 1: Install the Package](#step-1-install-the-package)
738
+ - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
739
+ - [Step 3: Finalizing the Installation](#step-3-finalizing-the-installation)
740
+ - [Step 4: Configure your RSS Feeds](#step-4-configure-your-rss-feeds)
741
+ - [Discord Bot Commands](#discord-bot-commands)
742
+ - [Updating](#updating)
743
+ - [Changelog](#changelog)
744
+ - [Translation Status](#translation-status)
745
+ - [Contributing](#contributing)
746
746
 
747
747
  <!-- mdformat-toc end -->
748
748
 
@@ -812,13 +812,13 @@ and select the Discord channel it should be posted to. Once done, save it.
812
812
 
813
813
  The following commands are available for the Discord bot to manage RSS/Atom feeds:
814
814
 
815
- | Command | Options | What it does |
816
- | :------------------------------ | :---------------------------------------------------------------------------------------- | :--------------------------------------------------------------- |
817
- | `!rss_add <rss_url> <rss_name>` | - `rss_url` - The URL of the RSS/Atom feed<br>- `rss_name` - A Name for the RSS/Atom Feed | Adding a RSS/Atom feed to the current channel |
818
- | `!rss_delete <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to remove | Remove a RSS/Atom feed from the current Discord channel |
819
- | `!rss_disable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to disable | Disable an enabled RSS/Atom feed for the current Discord channel |
820
- | `!rss_enable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to enable | Enable a disabled RSS/Atom feed for the current Discord channel |
821
- | `!rss_list` | None | List all RSS/Atom feeds for the current Discord channel |
815
+ | Command | Options | What it does |
816
+ | :------------------------------ | :------------------------------------------------------------------------------------ | :--------------------------------------------------------------- |
817
+ | `/rss add <rss_url> <rss_name>` | `rss_url` - The URL of the RSS/Atom feed<br>`rss_name` - A Name for the RSS/Atom Feed | Adding a RSS/Atom feed to the current channel |
818
+ | `/rss delete <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to remove | Remove a RSS/Atom feed from the current Discord channel |
819
+ | `/rss disable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to disable | Disable an enabled RSS/Atom feed for the current Discord channel |
820
+ | `/rss enable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to enable | Enable a disabled RSS/Atom feed for the current Discord channel |
821
+ | `/rss list` | None | List all RSS/Atom feeds for the current Discord channel |
822
822
 
823
823
  ## Updating<a name="updating"></a>
824
824
 
@@ -0,0 +1,44 @@
1
+ aa_rss_to_discord/__init__.py,sha256=rNJy-aZm3XyjhbGz1yg-TaML4leePtBBR_UukVuYoKI,137
2
+ aa_rss_to_discord/admin.py,sha256=bbvD0w0vFgD4kR4riWIwpOWpb9t8R6BI7ofYqTZbjDw,440
3
+ aa_rss_to_discord/apps.py,sha256=2VCJz9NRLjonlVLMngaoTQLk62hfJwBTSc49PfUK4EE,322
4
+ aa_rss_to_discord/auth_hooks.py,sha256=k5mLzQR1NwtA5MCedLzPyULEhv4ylwqvFpTPZ62eWJ0,273
5
+ aa_rss_to_discord/constants.py,sha256=cYJZSecI3mvH44ngxvrA7hxKpVyyZ2e-AOVBS13KNDE,325
6
+ aa_rss_to_discord/managers.py,sha256=bM4Mi4J-DFKVUhTFrKRh7FmZfZrWcUgOlF7Yeu69lw0,303
7
+ aa_rss_to_discord/models.py,sha256=G-_LjShFDQFcbcg3nuR5mwjBl4zmANsgF8PIrokJOdU,1781
8
+ aa_rss_to_discord/tasks.py,sha256=_PSOR-lapSkvp97X9TFg7hxEYCU8cDANnUJlv2iL-pI,7189
9
+ aa_rss_to_discord/discordbot/cogs/__init__.py,sha256=3u3OJfO3Xh1GightCaX0lhbUbP7Lq2c1nY4Tg1FsrZo,27
10
+ aa_rss_to_discord/discordbot/cogs/rss.py,sha256=aPov4y-ckTwzXdXfKtA5WZZKwy7myOlW2xyK5yWGhy4,8174
11
+ aa_rss_to_discord/locale/django.pot,sha256=XpVCfbYc-cyxcqB3uWwrh7KpjbmYOB8JhNyL0T6fCGk,961
12
+ aa_rss_to_discord/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=e5Bcjwg3sIKgDgHKifbl2DcH0atHMSygiZwgvKEaifs,565
13
+ aa_rss_to_discord/locale/cs_CZ/LC_MESSAGES/django.po,sha256=cIAD5F6iQaQrnRswHfy3mQk82yQy9OyUokg0aFUH3Mc,1186
14
+ aa_rss_to_discord/locale/de/LC_MESSAGES/django.mo,sha256=CKLc2PBk_4R_727nWoLv3lQVA73cNbJlObZKVZrpPx4,718
15
+ aa_rss_to_discord/locale/de/LC_MESSAGES/django.po,sha256=EYKFpKZtb76ytLSYxfLolE29Epg0mXSrdo62usFebsM,1177
16
+ aa_rss_to_discord/locale/es/LC_MESSAGES/django.mo,sha256=BNXYj-j0OPYFuLpm0uJS_b28tdtbs1BOMYp_HCWcoC8,664
17
+ aa_rss_to_discord/locale/es/LC_MESSAGES/django.po,sha256=RGQpaFSdicR_3_04AmQq63wnchxvEtpQxmZXCvnoETQ,1195
18
+ aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.mo,sha256=5_MQNNB5Vk_hSrbs09CnjxMRX_r94M3pYiFNdwUT1sY,655
19
+ aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.po,sha256=RiBt6q4hnqecFWlhWPtCBOokyfJO8KCnUmP6wA577Og,1253
20
+ aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.mo,sha256=jyxuImpxL3PnEGxbqzYoLvrE014f-wPENwh0LMuWviM,487
21
+ aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.po,sha256=N6tN9jYWa_UjiczWxxV1EFlNVvuhr8afXhi4LPeiDps,1106
22
+ aa_rss_to_discord/locale/ja/LC_MESSAGES/django.mo,sha256=dzafm9mmWwOeYbuJWyMmxTKxqdBu7ptUXdhXllkSoY4,770
23
+ aa_rss_to_discord/locale/ja/LC_MESSAGES/django.po,sha256=e8Jc9oAo4ZRhUXTXSiAxy2L7L70o9oaEmsZCANtlyFQ,1228
24
+ aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.mo,sha256=1IW9bwgVPrzDl_0crEO0UMaPF4jP3SyTUrZeRjalzCk,738
25
+ aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.po,sha256=jqkuVGg-SIpX8yNaIssPXQ1CRYeb3Sqvv_7wMnCwq_E,1238
26
+ aa_rss_to_discord/locale/nl_NL/LC_MESSAGES/django.mo,sha256=JLv2IW5Kp2wqE7MqNn9P9blZ_I-Jp0CIWiHsadYgFUU,483
27
+ aa_rss_to_discord/locale/nl_NL/LC_MESSAGES/django.po,sha256=qybZFRNgUBQbILKCpO16pqHyKNUHCqAjciRLvyqZoZE,1104
28
+ aa_rss_to_discord/locale/pl_PL/LC_MESSAGES/django.mo,sha256=2ugIqkNNVUGxIgfxUjU8SCIBJvSCn6vGzAV9Xnqiyag,543
29
+ aa_rss_to_discord/locale/pl_PL/LC_MESSAGES/django.po,sha256=Je3GSpOkbhftihOaf7awbrR2s50FabueePrY8DuZxjo,1163
30
+ aa_rss_to_discord/locale/ru/LC_MESSAGES/django.mo,sha256=BzuRJnMwz-rpbr8rc_K755H-sstix0LsOpb7lSbkRuo,865
31
+ aa_rss_to_discord/locale/ru/LC_MESSAGES/django.po,sha256=yq9apNzGc0RZWYCK5DBH4VRVXsYyFgz5eF2EPJ5VNzo,1350
32
+ aa_rss_to_discord/locale/sk/LC_MESSAGES/django.mo,sha256=WPcDxnOaK_bCNIPoZQRxryi5F97g2RNn0Zuh9us90U0,562
33
+ aa_rss_to_discord/locale/sk/LC_MESSAGES/django.po,sha256=I8e6O-W3gTFt0u17JZ-dTYIDzfkna4E3EILQ_d8FVn0,1179
34
+ aa_rss_to_discord/locale/uk/LC_MESSAGES/django.mo,sha256=UHsN3RatcezOxbCPK0Ma6ArEMdCoN6Xl4BwKULVjXcE,792
35
+ aa_rss_to_discord/locale/uk/LC_MESSAGES/django.po,sha256=pLIxXQK85g4cfyTsehkG9WXHbx7Ouqfjj-TJaKdAJA4,1290
36
+ aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=DaODnWQcYUSgtxUaPmZoEG6IQ190DS3WzCh6uNvhHh8,518
37
+ aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.po,sha256=-JT7KhIK1Y07tVVMMSDZKWkJVjA9Gpgk9hk2SM3l84g,1121
38
+ aa_rss_to_discord/migrations/0001_initial.py,sha256=TD8ZmWLleWEw1G3PlQh3HBU4pRXxwIfp_LMQj4IyTDE,2764
39
+ aa_rss_to_discord/migrations/0002_enable_disable_rss_feeds.py,sha256=apLeuxILrxvTntSc1bixfcDqpgt49VscyT6inLKU9k8,396
40
+ aa_rss_to_discord/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
+ aa_rss_to_discord-2.3.1.dist-info/METADATA,sha256=c730Yg91vumV-bjLL9FlRsO8FeZsBVawlF818MK9-Zg,50234
42
+ aa_rss_to_discord-2.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
+ aa_rss_to_discord-2.3.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
44
+ aa_rss_to_discord-2.3.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,44 +0,0 @@
1
- aa_rss_to_discord/__init__.py,sha256=mD4_q5gx-F9H6RjQvUVpRj5-0bn45OxOjSiN07fOTwU,137
2
- aa_rss_to_discord/admin.py,sha256=bbvD0w0vFgD4kR4riWIwpOWpb9t8R6BI7ofYqTZbjDw,440
3
- aa_rss_to_discord/apps.py,sha256=2VCJz9NRLjonlVLMngaoTQLk62hfJwBTSc49PfUK4EE,322
4
- aa_rss_to_discord/auth_hooks.py,sha256=k5mLzQR1NwtA5MCedLzPyULEhv4ylwqvFpTPZ62eWJ0,273
5
- aa_rss_to_discord/constants.py,sha256=g3gSPWdVyUcv4ayJvG78mGtcPCdbJBjuGaAPE9CI3bc,455
6
- aa_rss_to_discord/managers.py,sha256=bM4Mi4J-DFKVUhTFrKRh7FmZfZrWcUgOlF7Yeu69lw0,303
7
- aa_rss_to_discord/models.py,sha256=wfFt1p8sQlcOFdVrByiuYStS9UI0nhbVeBsSYAxrYMA,1706
8
- aa_rss_to_discord/tasks.py,sha256=ugsFX7RVIeeg0XBsqSup4f02jc3yPL09-sJhpBGB9Bc,7189
9
- aa_rss_to_discord/discordbot/cogs/__init__.py,sha256=3u3OJfO3Xh1GightCaX0lhbUbP7Lq2c1nY4Tg1FsrZo,27
10
- aa_rss_to_discord/discordbot/cogs/rss.py,sha256=Z1OE_74RQYpLjanLNQ1lryxcp8f9TK5kJBGvQJUuCeA,8461
11
- aa_rss_to_discord/locale/django.pot,sha256=Ss9ecFu_EGUYkpiM-oOeKDM-xRsiPUyWXJXP93WvgQg,901
12
- aa_rss_to_discord/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=e5Bcjwg3sIKgDgHKifbl2DcH0atHMSygiZwgvKEaifs,565
13
- aa_rss_to_discord/locale/cs_CZ/LC_MESSAGES/django.po,sha256=FieWrTz3YGO_puTbfYenCGCJoRl_qd6RTifjYC_4vvU,1132
14
- aa_rss_to_discord/locale/de/LC_MESSAGES/django.mo,sha256=CKLc2PBk_4R_727nWoLv3lQVA73cNbJlObZKVZrpPx4,718
15
- aa_rss_to_discord/locale/de/LC_MESSAGES/django.po,sha256=GL-m7cCh3FO0Gmz7t-TswXpuT8YXS7HBunvvrmFZXPI,1120
16
- aa_rss_to_discord/locale/es/LC_MESSAGES/django.mo,sha256=BNXYj-j0OPYFuLpm0uJS_b28tdtbs1BOMYp_HCWcoC8,664
17
- aa_rss_to_discord/locale/es/LC_MESSAGES/django.po,sha256=AiGkxiOBVzouRFQ5yDFacSbLIMD5oU3oI9gtbn2NNdg,1138
18
- aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.mo,sha256=5_MQNNB5Vk_hSrbs09CnjxMRX_r94M3pYiFNdwUT1sY,655
19
- aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.po,sha256=3ltSdwa92num1E80nUQWzubUZ04p2RxC4MSnjlGlnJM,1196
20
- aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.mo,sha256=jyxuImpxL3PnEGxbqzYoLvrE014f-wPENwh0LMuWviM,487
21
- aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.po,sha256=iL4Agnah-bIwu-KdQKB0-0-LftfoxtDt5MZ-kLMVANQ,1049
22
- aa_rss_to_discord/locale/ja/LC_MESSAGES/django.mo,sha256=dzafm9mmWwOeYbuJWyMmxTKxqdBu7ptUXdhXllkSoY4,770
23
- aa_rss_to_discord/locale/ja/LC_MESSAGES/django.po,sha256=01auWsVk4_fmkWqiktTF4DkzLEgSy6UJDkAdZvWIQfg,1171
24
- aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.mo,sha256=1IW9bwgVPrzDl_0crEO0UMaPF4jP3SyTUrZeRjalzCk,738
25
- aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.po,sha256=gH93brhQ6REt1m3ApfMZ3NzVFw7S4nJGnss9E1hD9QE,1181
26
- aa_rss_to_discord/locale/nl_NL/LC_MESSAGES/django.mo,sha256=JLv2IW5Kp2wqE7MqNn9P9blZ_I-Jp0CIWiHsadYgFUU,483
27
- aa_rss_to_discord/locale/nl_NL/LC_MESSAGES/django.po,sha256=LvzhpNDdYksAxhuoqZpGvZSiQfK5cI-CCN9GsivEzIM,1047
28
- aa_rss_to_discord/locale/pl_PL/LC_MESSAGES/django.mo,sha256=2ugIqkNNVUGxIgfxUjU8SCIBJvSCn6vGzAV9Xnqiyag,543
29
- aa_rss_to_discord/locale/pl_PL/LC_MESSAGES/django.po,sha256=_97XEfNUOK3DNqPBs4PfiTd1uVaFbXVn5N0MbwFba2s,1109
30
- aa_rss_to_discord/locale/ru/LC_MESSAGES/django.mo,sha256=BzuRJnMwz-rpbr8rc_K755H-sstix0LsOpb7lSbkRuo,865
31
- aa_rss_to_discord/locale/ru/LC_MESSAGES/django.po,sha256=QIjSNR2GeOcfQcShf7J2QhVpzRG4rqiTPNyRLydB9mg,1296
32
- aa_rss_to_discord/locale/sk/LC_MESSAGES/django.mo,sha256=WPcDxnOaK_bCNIPoZQRxryi5F97g2RNn0Zuh9us90U0,562
33
- aa_rss_to_discord/locale/sk/LC_MESSAGES/django.po,sha256=nhID6Ja8ppnq5wn39mB01ZG3HQdNqjKJdSZUKbljnaA,1125
34
- aa_rss_to_discord/locale/uk/LC_MESSAGES/django.mo,sha256=UHsN3RatcezOxbCPK0Ma6ArEMdCoN6Xl4BwKULVjXcE,792
35
- aa_rss_to_discord/locale/uk/LC_MESSAGES/django.po,sha256=8sfojSZLWg003-rTYOYbMfCSe5lodTy9KLz5-28_Ryc,1236
36
- aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=DaODnWQcYUSgtxUaPmZoEG6IQ190DS3WzCh6uNvhHh8,518
37
- aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.po,sha256=I7yWCn-XUrv6NRpDSulxEW3sNm2RN5HRtM5UJN3MWvY,1064
38
- aa_rss_to_discord/migrations/0001_initial.py,sha256=TD8ZmWLleWEw1G3PlQh3HBU4pRXxwIfp_LMQj4IyTDE,2764
39
- aa_rss_to_discord/migrations/0002_enable_disable_rss_feeds.py,sha256=apLeuxILrxvTntSc1bixfcDqpgt49VscyT6inLKU9k8,396
40
- aa_rss_to_discord/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- aa_rss_to_discord-2.2.0.dist-info/METADATA,sha256=zxHHT8iN_VwHCWsEOTCNACzdx_DR0BUT-bX0p2fcWdQ,50297
42
- aa_rss_to_discord-2.2.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
43
- aa_rss_to_discord-2.2.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
44
- aa_rss_to_discord-2.2.0.dist-info/RECORD,,