update channel IDs for new guild
This commit is contained in:
1 parent
8edff04e54
commit
111d43a3ee
2 files changed
+14
-15
No files matched your search
+10
-10
@@ -22,13 +22,13 @@ from utils.paginator import Paginator
|
||||
from utils.funcs import format_count, timeline_button, get_nation, get_war
|
||||
|
||||
ALLIANCE_ID = 10177
|
||||
GUILD = 943540698492334120
|
||||
CATEGORY = 1017442427537215619
|
||||
ARCHIVE_CATEGORY = 1363161502969892874
|
||||
OFFENSIVE_LOG_CHANNEL = 1359571584574029925
|
||||
DEFENSIVE_LOG_CHANNEL = 1362303245598457856
|
||||
GUILD = 1353930666311421952
|
||||
CATEGORY = 1356240812861821048
|
||||
ARCHIVE_CATEGORY = 1367458846708334703
|
||||
OFFENSIVE_LOG_CHANNEL = 1353940560771027034
|
||||
DEFENSIVE_LOG_CHANNEL = 1353940670246686843
|
||||
MONITORED_ALLIANCES = [10177, 10198]
|
||||
ALLIANCE_ATK_CH = 1363882443605541127
|
||||
ALLIANCE_ATK_CH = 1367461291685318686
|
||||
|
||||
REFILL_LIST = json.load(open("refill.json"))
|
||||
|
||||
@@ -427,7 +427,7 @@ class WarMonitor(commands.Cog):
|
||||
|
||||
|
||||
@commands.command()
|
||||
@commands.has_permissions(administrator=True)
|
||||
@commands.has_role("The Croak Council")
|
||||
async def sync_wars(self, ctx: CustomCtx):
|
||||
# get all alliance active wars
|
||||
m = await ctx.send("> <a:load:1275839759192686654> syncing wars")
|
||||
@@ -455,7 +455,7 @@ class WarMonitor(commands.Cog):
|
||||
|
||||
@commands.command()
|
||||
@commands.has_permissions(administrator=True)
|
||||
@commands.has_role("Heqet")
|
||||
@commands.has_role("The Croak Council")
|
||||
async def archive(self, ctx: CustomCtx):
|
||||
category = await self.bot.fetch_channel(CATEGORY)
|
||||
if ctx.channel not in category.text_channels:
|
||||
@@ -468,7 +468,7 @@ class WarMonitor(commands.Cog):
|
||||
|
||||
@commands.command()
|
||||
@commands.has_permissions(administrator=True)
|
||||
@commands.has_role("Heqet")
|
||||
@commands.has_role("The Croak Council")
|
||||
async def addm(self, ctx: CustomCtx, *, member: discord.Member):
|
||||
category = await self.bot.fetch_channel(CATEGORY)
|
||||
if ctx.channel not in category.text_channels:
|
||||
@@ -479,7 +479,7 @@ class WarMonitor(commands.Cog):
|
||||
|
||||
@commands.command()
|
||||
@commands.has_permissions(administrator=True)
|
||||
@commands.has_role("Heqet")
|
||||
@commands.has_role("The Croak Council")
|
||||
async def delete(self, ctx: CustomCtx):
|
||||
category = await self.bot.fetch_channel(ARCHIVE_CATEGORY)
|
||||
if ctx.channel not in category.text_channels:
|
||||
|
||||
Reference in new issue
Block a user