소스 검색

removed foundered notifications

master
Haku 5 년 전
부모
커밋
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):


불러오는 중...
취소
저장