Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2020-08-13 | 1.6 kB | |
update_fixes.tar.gz | 2020-08-13 | 207.6 kB | |
update_fixes.zip | 2020-08-13 | 242.4 kB | |
Totals: 3 Items | 451.6 kB | 0 |
https://github.com/idinium96/tf2autobot/pull/55
Added
- a quick link on !trades
command when using Steam Chat.
- retry to get backpack slots after failed due to inventory API down which will be executed after 10 minutes.
Changes
- change DISCORD_WEBHOOK_TRADE_SUMMARY_URL
as an array - can add more than one Discord Webhook URL.
Fixed
- fix the quick link on !message
command when using Steam Chat.
- fix problem with tf2-autocord not reply correctly
- fix bot reply when the trade partner sent only !price
/!buy
/!sell
/!buycart
/!sellcart
commands without item name.
Update with git pull && npm install && npm run build
, then, make sure to update DISCORD_WEBHOOK_TRADE_SUMMARY_URL
to an array, whether you have this activated or not.
How? Just add an open and close of the square bracket.
-
ecosystem.json
: Now:"DISCORD_WEBHOOK_TRADE_SUMMARY_URL": "yourDiscordWebhookLink",
Change to:"DISCORD_WEBHOOK_TRADE_SUMMARY_URL": ["yourDiscordWebhookLink"],
-
.env
: Now:DISCORD_WEBHOOK_TRADE_SUMMARY_URL="",
Change to:DISCORD_WEBHOOK_TRADE_SUMMARY_URL=["yourDiscordWebhookLink"],
To add the other Discord Webhook links, make sure your array will look like this: ["link1", "link2", ..., "link"]
(if only have two, put it like ["link1", "link2"]
), where link1
is your own Discord Webhook Link.
DM me on Discord if you want to feature your bot trades on tf2autobot Discord Server.
After you've update/change it, save your file and restart your bot (with pm2 restart ecosystem.json --update-env && pm2 save
if you're running your bot with PM2).