update channel IDs for new guild

This commit is contained in:
un1xx committed 2025-05-01 17:06:02 +05:30
1 parent 8edff04e54
commit 111d43a3ee
2 files changed
+14 -15

No files matched your search

+4 -5
View File
@@ -76,7 +76,7 @@ class Banking(commands.Cog):
aiohttp_session=aiohttp.ClientSession(loop=self.bot.loop),
)
@commands.has_role(987770837627187250)
@commands.has_any_role("Government", "The Croak Council")
@commands.command()
async def tmilf(self, ctx: CustomCtx):
"""
@@ -159,7 +159,7 @@ class Banking(commands.Cog):
m = await ctx.send(embed=e, view=v)
v.message = m
@commands.has_role(987770837627187250)
@commands.has_role(1353931003365691392)
@commands.command(aliases=["wc"])
async def warchest(self, ctx: CustomCtx):
"""
@@ -373,7 +373,7 @@ class Banking(commands.Cog):
ctx=ctx, custom_items=[ConfirmButton(bot=self.bot, p=paginator)]
)
@commands.has_role(987770837627187250)
@commands.has_role(1353931003365691392)
@commands.command()
async def rss(
self,
@@ -447,7 +447,7 @@ class Banking(commands.Cog):
await ctx.paginate(pages=embeds)
@commands.has_role(987770837627187250)
@commands.has_role(1353931003365691392)
@commands.command()
async def bank(self, ctx: CustomCtx):
"""sends bank resources"""
@@ -492,7 +492,6 @@ class Banking(commands.Cog):
await ctx.paginate(pages=embeds)
@commands.has_role(987770837627187250)
@commands.command()
async def transfer(self, ctx: CustomCtx):
"""transfer resources"""
+10 -10
View File
@@ -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: