Disable env vars
This commit is contained in:
parent
3ef02e43e3
commit
6d791d067a
@ -202,10 +202,10 @@ type Store() =
|
|||||||
|
|
||||||
let checkChannel (ctx : IDiscordContext) =
|
let checkChannel (ctx : IDiscordContext) =
|
||||||
match ctx.GetChannel().Id with
|
match ctx.GetChannel().Id with
|
||||||
| id when id = GuildEnvironment.channelBackAlley -> buy (Inventory.getItemsByType ItemType.Hack) ctx
|
// | id when id = GuildEnvironment.channelBackAlley -> buy (Inventory.getItemsByType ItemType.Hack) ctx
|
||||||
| id when id = GuildEnvironment.channelArmory -> buy (Inventory.getItemsByType ItemType.Shield) ctx
|
| id when id = GuildEnvironment.channelArmory -> buy (Inventory.getItemsByType ItemType.Shield) ctx
|
||||||
| id when id = GuildEnvironment.channelMarket -> buy (Inventory.getItemsByType ItemType.Food) ctx
|
// | id when id = GuildEnvironment.channelMarket -> buy (Inventory.getItemsByType ItemType.Food) ctx
|
||||||
| id when id = GuildEnvironment.channelAccessoryShop -> buy (Inventory.getItemsByType ItemType.Accessory) ctx
|
// | id when id = GuildEnvironment.channelAccessoryShop -> buy (Inventory.getItemsByType ItemType.Accessory) ctx
|
||||||
| _ ->
|
| _ ->
|
||||||
task {
|
task {
|
||||||
let msg = $"This channel doesn't have any items to sell"
|
let msg = $"This channel doesn't have any items to sell"
|
||||||
|
@ -22,10 +22,10 @@ let tokenInviter = getVar "TOKEN_INVITER"
|
|||||||
let channelEventsHackerBattle = getId "CHANNEL_EVENTS_HACKER_BATTLE"
|
let channelEventsHackerBattle = getId "CHANNEL_EVENTS_HACKER_BATTLE"
|
||||||
let channelTraining = getId "CHANNEL_TRAINING"
|
let channelTraining = getId "CHANNEL_TRAINING"
|
||||||
let channelArmory = getId "CHANNEL_ARMORY"
|
let channelArmory = getId "CHANNEL_ARMORY"
|
||||||
let channelBackAlley = getId "CHANNEL_BACKALLEY"
|
//let channelBackAlley = getId "CHANNEL_BACKALLEY"
|
||||||
let channelBattle = getId "CHANNEL_BATTLE"
|
let channelBattle = getId "CHANNEL_BATTLE"
|
||||||
let channelMarket = getId "CHANNEL_MARKET"
|
//let channelMarket = getId "CHANNEL_MARKET"
|
||||||
let channelAccessoryShop = getId "CHANNEL_ACCESSORIES"
|
//let channelAccessoryShop = getId "CHANNEL_ACCESSORIES"
|
||||||
let channelWelcome = getId "CHANNEL_WELCOME"
|
let channelWelcome = getId "CHANNEL_WELCOME"
|
||||||
|
|
||||||
//let channelThievery = getId "CHANNEL_THIEVERY"
|
//let channelThievery = getId "CHANNEL_THIEVERY"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user