Quellcode durchsuchen

removed foundered notifications

master
Haku vor 5 Jahren
Ursprung
Commit
be44038398
1 geänderte Dateien mit 0 neuen und 15 gelöschten Zeilen
  1. +0
    -15
      founderlessnotify/founderlessnotify.py

+ 0
- 15
founderlessnotify/founderlessnotify.py Datei anzeigen

@@ -118,21 +118,6 @@ class FounderlessNotify(commands.Cog):
if message_content:
await channel.send(message_content)

# await channel.send('The following regions are **no longer Founderless:**')
# for region in now_foundered:
# if len(message_content) <= 1800:
# message_content += f'https://www.nationstates.net/region={canonicalize(region)} ' \
# f'({now_foundered_endos[region]}e)\n'
# else:
# await channel.send(message_content)
# message_content = ""
# message_content += f'https://www.nationstates.net/region={canonicalize(region)} ' \
# f'({now_foundered_endos[region]}e)\n'
# # Send the remaining contents just in case
# if message_content:
# await channel.send(message_content)

# Now that we're done sending that out, update the cache.
await self.config.previous_founderless.set(new_founderless_regions)

async def bg_loop(self):


Laden…
Abbrechen
Speichern