Kaynağa Gözat

removed foundered notifications

master
Haku 5 yıl önce
ebeveyn
işleme
be44038398
1 değiştirilmiş dosya ile 0 ekleme ve 15 silme
  1. +0
    -15
      founderlessnotify/founderlessnotify.py

+ 0
- 15
founderlessnotify/founderlessnotify.py Dosyayı Görüntüle

@@ -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):


Yükleniyor…
İptal
Kaydet