Dota2

Latest version: v1.0.0

Safety actively analyzes 619528 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

7.0.0

General
I switched protobuf resources to bundled steam-resources.

API changes
All protobuf objects are now available on Dota2.schema, removing the need for
some of the enums declared in this package. Following enums have been removed:
* Dota2.BotDifficulty -> Dota2.schema.DOTABotDifficulty
* Dota2.EResult -> steam.EResult

I also removed a bunch of deprecated functions that had been marked as such for
a few versions.

Methods
requestLeagueInfo
Proto message was removed so corresponding function also removed

6.1.1

General
* Updated fantasy cards with this year's player card ID

6.1.0

General
* Removed some trailing util.log commands
* Protobuf updates
* Attempt to fix mocha not exiting
* Added profile request fuction that allows fetching profile page

6.0.0

General
Fixed some chat channel bugs

API changes
Methods
requestLeaguesInMonth
Proto message was removed so corresponding function also removed

destroyLobby
New function for lobby host that destroys the lobby

Events
leaguesInMonthData
Removed because Valve removed proto message

5.2.0

Dependency changes
Nothing new, just some updates

API changes
Methods
requestPlayerCardsByPlayer
Now parses the bonuses

tipPlayer
Allows you to tip someone after a game

Properties
* new Enum for Fantasy stats

Events
gotItem
New event emitted when the bot received an item

gaveItem
New event emitted when the bot trades away an item

tipResponse
GC response after having tried tipping someone

tipped
Event fired when you get tipped

5.1.0

Dependency changes
New dependencies on winstonjs and momentjs for logging purposes

API changes
Properties
Logger
Instance of winston.Logger. Default logging is identical to util.log. Users can
configure as they like.

Events
chatLeft
New event emitted when the bot has left a chat channel

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.