mirror of
https://github.com/nikdoof/dropbot.git
synced 2025-12-13 02:42:17 +00:00
Added Hek as a default trading hub
This commit is contained in:
@@ -39,7 +39,7 @@ The configuration is passed by using environment variables.
|
||||
* ```DROPBOT_REDIS_URL``` - 12 factor style URL of the Redis server to use (defaults to redis://localhost:6379/0)
|
||||
* ```DROPBOT_CMD_PREFIX``` - Prefix of MUC channel commands (defaults to !)
|
||||
* ```DROPBOT_KOS_URL``` - URL of the CVA KOS API service (defaults to http://kos.cva-eve.org/api/)
|
||||
* ```DROPBOT_MARKET_SYSTEMS``` - A comma seperated list of systems to be used for the best price checker (defaults to Jita, Amarr, Rens, Dodixie)
|
||||
* ```DROPBOT_MARKET_SYSTEMS``` - A comma seperated list of systems to be used for the best price checker (defaults to Jita, Amarr, Rens, Dodixie, Hek)
|
||||
* ```DROPBOT_KILL_CORPS``` - List of Corp IDs to track for kills
|
||||
* ```DROPBOT_KILLS_DISABLED``` - Disables the streaming of zKillboard kills to the channels (default to 0)
|
||||
* ```DROPBOT_OFFICE_API_KEYID``` - API KeyID to use for the nearest office finder.
|
||||
|
||||
@@ -40,7 +40,7 @@ class DropBot(ClientXMPP):
|
||||
self.kills_muted = False
|
||||
self.office_api_key_keyid = kwargs.pop('office_api_keyid', None)
|
||||
self.office_api_key_vcode = kwargs.pop('office_api_vcode', None)
|
||||
self.market_systems = kwargs.pop('market_systems', ['Jita', 'Amarr', 'Rens', 'Dodixie'])
|
||||
self.market_systems = kwargs.pop('market_systems', ['Jita', 'Amarr', 'Rens', 'Dodixie', 'Hek'])
|
||||
|
||||
if 'redis_url' in kwargs:
|
||||
self.redis_pool = ConnectionPool.from_url(kwargs.pop('redis_url', 'redis://localhost:6379/0'))
|
||||
@@ -345,8 +345,12 @@ class DropBot(ClientXMPP):
|
||||
return self.cmd_price(['Rens'] + args, msg)
|
||||
|
||||
def cmd_dodixie(self, args, msg):
|
||||
"""Returns the price of a item in Dodixie"""
|
||||
"""Returns the price of a item in Dodixie"""
|
||||
return self.cmd_price(['Dodixie'] + args, msg)
|
||||
|
||||
def cmd_hek(self, args, msg):
|
||||
"""Returns the price of a item in Hek"""
|
||||
return self.cmd_price(['Hek'] + args, msg)
|
||||
|
||||
def cmd_uh(self, args, msg):
|
||||
"""Returns the price of a item in U-HVIX"""
|
||||
|
||||
Reference in New Issue
Block a user