mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 12:48:54 -05:00
parent
fba3a079dd
commit
aef46f3820
@ -258,6 +258,8 @@ class Downloader:
|
|||||||
patchnote_lang = 'Prolog'
|
patchnote_lang = 'Prolog'
|
||||||
shorten_by = 8 + len(patchnote_lang)
|
shorten_by = 8 + len(patchnote_lang)
|
||||||
for note in self.patch_notes_handler(installed_updated_cogs):
|
for note in self.patch_notes_handler(installed_updated_cogs):
|
||||||
|
if note is None:
|
||||||
|
continue
|
||||||
for page in pagify(note, delims=['\n'], shorten_by=shorten_by):
|
for page in pagify(note, delims=['\n'], shorten_by=shorten_by):
|
||||||
await self.bot.say(box(page, patchnote_lang))
|
await self.bot.say(box(page, patchnote_lang))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user