minor fixes
This commit is contained in:
1 parent
9bf35bef61
commit
0ed0c713de
2 files changed
+16
-12
No files matched your search
+6
-4
@@ -1,16 +1,16 @@
|
||||
import aiohttp
|
||||
import asyncio
|
||||
import datetime
|
||||
import os
|
||||
import random
|
||||
from typing import Optional
|
||||
|
||||
import aiohttp
|
||||
import discord
|
||||
from discord.ext import commands, tasks
|
||||
import pnwkit
|
||||
import pytz
|
||||
from pnwkit import Order, OrderBy
|
||||
from discord.ext import commands, tasks
|
||||
from discord.utils import format_dt
|
||||
from pnwkit import Order, OrderBy
|
||||
|
||||
from botclass import Brahmos, CustomCtx
|
||||
|
||||
@@ -140,7 +140,9 @@ class Misc(commands.Cog):
|
||||
"id, leader_name, nation_name, color, vacation_mode_turns, last_active",
|
||||
)
|
||||
nations = [
|
||||
n for n in res.nations if n.color != "olive" and n.vacation_mode_turns == 0
|
||||
n
|
||||
for n in res.nations
|
||||
if n.color not in ["olive", "beige"] and n.vacation_mode_turns == 0
|
||||
]
|
||||
await channel.send(
|
||||
"> nations not olive:\n"
|
||||
|
||||
Reference in new issue
Block a user