added prod channels ID.
This commit is contained in:
parent
9ff9dde701
commit
c8bb112fc2
|
|
@ -13,6 +13,9 @@ class IdaCogs(commands.Cog):
|
||||||
self.gsheetToken = helpers.readToken("sheet.token")
|
self.gsheetToken = helpers.readToken("sheet.token")
|
||||||
self.stationName = helpers.getStationName()
|
self.stationName = helpers.getStationName()
|
||||||
self.stationUrl = helpers.getStationUrl()
|
self.stationUrl = helpers.getStationUrl()
|
||||||
|
self.whatsLeftToHaulChannelId = 668892839798898698
|
||||||
|
self.carrierStatsChannel = 00
|
||||||
|
self.debugChannel = 583345534178426911
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -267,7 +270,7 @@ class IdaCogs(commands.Cog):
|
||||||
if response == 200:
|
if response == 200:
|
||||||
await ctx.followup.send(f"The carrier {carrier} has been set to {state}")
|
await ctx.followup.send(f"The carrier {carrier} has been set to {state}")
|
||||||
print(f"{author} set {carrier} state 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}")
|
await channel.send(f"{author} set {carrier} state to {state}")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
@ -345,7 +348,7 @@ class IdaCogs(commands.Cog):
|
||||||
url=self.stationUrl)
|
url=self.stationUrl)
|
||||||
|
|
||||||
|
|
||||||
channel = self.bot.get_channel(1519457137234022460)
|
channel = self.bot.get_channel(self.whatsLeftToHaulChannelId)
|
||||||
|
|
||||||
found = False
|
found = False
|
||||||
async for oldmsg in channel.history(limit=2):
|
async for oldmsg in channel.history(limit=2):
|
||||||
|
|
@ -367,7 +370,7 @@ class IdaCogs(commands.Cog):
|
||||||
carrierState = await helpers.parseCarrierState(response)
|
carrierState = await helpers.parseCarrierState(response)
|
||||||
|
|
||||||
|
|
||||||
channel = self.bot.get_channel(1521596285981819101)
|
channel = self.bot.get_channel(self.carrierStateChannelId)
|
||||||
|
|
||||||
embed = discord.Embed(title="Carriers State",
|
embed = discord.Embed(title="Carriers State",
|
||||||
colour=discord.Colour(0x29ac08),
|
colour=discord.Colour(0x29ac08),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user