dev-prodId #1

Merged
Taledo merged 22 commits from dev-prodId into main 2026-07-29 08:12:57 +00:00
Showing only changes of commit c8bb112fc2 - Show all commits

View File

@ -13,6 +13,9 @@ class IdaCogs(commands.Cog):
self.gsheetToken = helpers.readToken("sheet.token")
self.stationName = helpers.getStationName()
self.stationUrl = helpers.getStationUrl()
self.whatsLeftToHaulChannelId = 668892839798898698
self.carrierStatsChannel = 00
self.debugChannel = 583345534178426911
@ -267,7 +270,7 @@ class IdaCogs(commands.Cog):
if response == 200:
await ctx.followup.send(f"The carrier {carrier} has been set to {state}")
print(f"{author} set {carrier} state to {state}")
channel = self.bot.get_channel(1521963883018063882)
channel = self.bot.get_channel(self.debugChannel)
await channel.send(f"{author} set {carrier} state to {state}")
else:
@ -345,7 +348,7 @@ class IdaCogs(commands.Cog):
url=self.stationUrl)
channel = self.bot.get_channel(1519457137234022460)
channel = self.bot.get_channel(self.whatsLeftToHaulChannelId)
found = False
async for oldmsg in channel.history(limit=2):
@ -367,7 +370,7 @@ class IdaCogs(commands.Cog):
carrierState = await helpers.parseCarrierState(response)
channel = self.bot.get_channel(1521596285981819101)
channel = self.bot.get_channel(self.carrierStateChannelId)
embed = discord.Embed(title="Carriers State",
colour=discord.Colour(0x29ac08),