A discord bot to track changes in Hypixel Skyblock's Bazaar and Auction House
This is a program I have written that runs as a Python file (run it with a proper bot key and it'll run itself).
I made most of this in a few hours late at night (from something like 10 PM to 4 AM?) so unfortunately it is sparsely commented! Hopefully the variable names and function names are understandable.
It has the following commands: You must have the role STONK TRADER to run these commands unless otherwise noted.
Bazaar: $sendgraph [OPTIONAL Past Time: any integer, default = 3600] [OPTIONAL filter: -b] - Returns a graph with the price overtime for an item
E.g. $sendgraph diamond - Returns a graph showing bazaar pricing for diamonds for the past hour.
$upcrafts [OPTIONAL: mode (%,upvalue,ppi)] - Returns all profitable upcrafts (Bazaar moves super fast so be sure to check right before you buy!!!)
$disparity - Returns the difference between the sell instantly price and the buy instantly price for each sitem (as text file)
$post_here - StonkBot will start to output bazaar changes to the channel in which the command was sent. Must have role STONK MASTER
Auction House
$value [OPTIONAL filter: -v (verbose), -a (list all), -h (has enchantment)] - Returns average selling value of item from the AH. Taken from auctions in the last 10 seconds before they finished.
E.g. $value aspect of the dragons - returns the average selling value of an aspect of the dragons
$trackeditems - Returns a txt file containing all items with data registered from the AH.
$enchbook " etc." - You can repeat enchantment/level as much as you want for as many enchantments with levels. Returns the data for all enchanted books with the enchantments and levels you provided.
$ah_post_here - StonkBot will start to output underpriced AH auctions to the channel in which the command was sent. Must have role STONK MASTER.
Available keys for sendgraph and potentially other future commands:
BLAZE_ROD
BLESSED_BAIT
BONE
BROWN_MUSHROOM
CACTUS
CARROT_BAIT
CARROT_ITEM
CATALYST
CLAY_BALL
COAL
COBBLESTONE
COMPACTOR
DARK_BAIT
DIAMOND
EMERALD
ENCHANTED_ACACIA_LOG
ENCHANTED_BAKED_POTATO
ENCHANTED_BIRCH_LOG
ENCHANTED_BLAZE_POWDER
ENCHANTED_BLAZE_ROD
ENCHANTED_BONE
ENCHANTED_BREAD
ENCHANTED_BROWN_MUSHROOM
ENCHANTED_CACTUS
ENCHANTED_CACTUS_GREEN
ENCHANTED_CAKE
ENCHANTED_CARROT
ENCHANTED_CARROT_STICK
ENCHANTED_CHARCOAL
ENCHANTED_CLAY_BALL
ENCHANTED_CLOWNFISH
ENCHANTED_COAL
ENCHANTED_COAL_BLOCK
ENCHANTED_COBBLESTONE
ENCHANTED_COCOA
ENCHANTED_COOKED_FISH
ENCHANTED_COOKED_MUTTON
ENCHANTED_COOKED_SALMON
ENCHANTED_COOKIE
ENCHANTED_DARK_OAK_LOG
ENCHANTED_DIAMOND
ENCHANTED_DIAMOND_BLOCK
ENCHANTED_EGG
ENCHANTED_EMERALD
ENCHANTED_EMERALD_BLOCK
ENCHANTED_ENDER_PEARL
ENCHANTED_ENDSTONE
ENCHANTED_EYE_OF_ENDER
ENCHANTED_FEATHER
ENCHANTED_FERMENTED_SPIDER_EYE
ENCHANTED_FIREWORK_ROCKET
ENCHANTED_FLINT
ENCHANTED_GHAST_TEAR
ENCHANTED_GLISTERING_MELON
ENCHANTED_GLOWSTONE
ENCHANTED_GLOWSTONE_DUST
ENCHANTED_GOLD
ENCHANTED_GOLDEN_CARROT
ENCHANTED_GOLD_BLOCK
ENCHANTED_GRILLED_PORK
ENCHANTED_GUNPOWDER
ENCHANTED_HAY_BLOCK
ENCHANTED_HUGE_MUSHROOM_1
ENCHANTED_HUGE_MUSHROOM_2
ENCHANTED_ICE
ENCHANTED_INK_SACK
ENCHANTED_IRON
ENCHANTED_IRON_BLOCK
ENCHANTED_JUNGLE_LOG
ENCHANTED_LAPIS_LAZULI
ENCHANTED_LAPIS_LAZULI_BLOCK
ENCHANTED_LAVA_BUCKET
ENCHANTED_LEATHER
ENCHANTED_MAGMA_CREAM
ENCHANTED_MELON
ENCHANTED_MELON_BLOCK
ENCHANTED_MUTTON
ENCHANTED_NETHER_STALK
ENCHANTED_OAK_LOG
ENCHANTED_OBSIDIAN
ENCHANTED_PACKED_ICE
ENCHANTED_PAPER
ENCHANTED_PORK
ENCHANTED_POTATO
ENCHANTED_PRISMARINE_CRYSTALS
ENCHANTED_PRISMARINE_SHARD
ENCHANTED_PUFFERFISH
ENCHANTED_PUMPKIN
ENCHANTED_QUARTZ
ENCHANTED_QUARTZ_BLOCK
ENCHANTED_RABBIT
ENCHANTED_RABBIT_FOOT (For whatever reason, this key does not work - I think the pickle'd file had an IOError and data was lost)
ENCHANTED_RABBIT_HIDE
ENCHANTED_RAW_BEEF
ENCHANTED_RAW_CHICKEN
ENCHANTED_RAW_FISH
ENCHANTED_RAW_SALMON
ENCHANTED_REDSTONE
ENCHANTED_REDSTONE_BLOCK
ENCHANTED_REDSTONE_LAMP
ENCHANTED_RED_MUSHROOM
ENCHANTED_ROTTEN_FLESH
ENCHANTED_SAND
ENCHANTED_SEEDS
ENCHANTED_SLIME_BALL
ENCHANTED_SLIME_BLOCK
ENCHANTED_SNOW_BLOCK
ENCHANTED_SPIDER_EYE
ENCHANTED_SPONGE
ENCHANTED_SPRUCE_LOG
ENCHANTED_STRING
ENCHANTED_SUGAR
ENCHANTED_SUGAR_CANE
ENCHANTED_WATER_LILY
ENCHANTED_WET_SPONGE
ENDER_PEARL
ENDER_STONE
FEATHER
FISH_BAIT
FLINT
FOUL_FLESH
GHAST_TEAR
GLOWSTONE_DUST
GOLDEN_TOOTH
GOLD_INGOT
GRAVEL
GREEN_CANDY
GREEN_GIFT
HAMSTER_WHEEL
HAY_BLOCK
HOT_POTATO_BOOK
HUGE_MUSHROOM_1
HUGE_MUSHROOM_2
ICE
ICE_BAIT
INK_SACK
INK_SACK:3
INK_SACK:4
IRON_INGOT
LEATHER
LIGHT_BAIT
LOG
LOG:1
LOG:2
LOG:3
LOG_2
LOG_2:1
MAGMA_CREAM
MELON
MINNOW_BAIT
MUTTON
NETHERRACK
NETHER_STALK
OBSIDIAN
OLD_FRAGMENT
PACKED_ICE
PORK
POTATO_ITEM
PRISMARINE_CRYSTALS
PRISMARINE_SHARD
PROTECTOR_FRAGMENT
PUMPKIN
PURPLE_CANDY
QUARTZ
RABBIT
RABBIT_FOOT
RABBIT_HIDE
RAW_BEEF
RAW_CHICKEN
RAW_FISH
RAW_FISH:1
RAW_FISH:2
RAW_FISH:3
REDSTONE
RED_GIFT
RED_MUSHROOM
REVENANT_FLESH
REVENANT_VISCERA
ROTTEN_FLESH
SAND
SEEDS
SLIME_BALL
SNOW_BALL
SNOW_BLOCK
SPIDER_EYE
SPIKED_BAIT
SPONGE
SPOOKY_BAIT
STOCK_OF_STONKS
STRING
STRONG_FRAGMENT
SUGAR_CANE
SULPHUR
SUMMONING_EYE
SUPERIOR_FRAGMENT
SUPER_COMPACTOR_3000
SUPER_EGG
TARANTULA_SILK
TARANTULA_WEB
UNSTABLE_FRAGMENT
WATER_LILY
WHALE_BAIT
WHEAT
WHITE_GIFT
WISE_FRAGMENT
WOLF_TOOTH
YOUNG_FRAGMENT