Просмотр исходного кода

removed foundered notifications

master
Haku 5 лет назад
Родитель
Сommit
be44038398
1 измененных файлов: 0 добавлений и 15 удалений
  1. +0
    -15
      founderlessnotify/founderlessnotify.py

+ 0
- 15
founderlessnotify/founderlessnotify.py Просмотреть файл

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


Загрузка…
Отмена
Сохранить