chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
511 stars 41 forks source link

[feature request] Add command to apply Steam 3000 profile to bot #23

Closed Botan626 closed 2 years ago

Botan626 commented 2 years ago

chr233, please consider adding such command

SENPAY98K commented 2 years ago

+1

chr233 commented 2 years ago

this web api sending payload using protobuf and it causing some extra work

SENPAY98K commented 2 years ago

Can be per account maybe ! at least to avoid logins to account 😃

chr233 commented 2 years ago

image

The payload look like this

chr233 commented 2 years ago

https://github.com/chr233/ASFEnhance/blob/master/SetSpecialProfile.py

To support protobuf is too much work for me, use this script instead, there is no need to login manually, just using accesstoken

If ASFEnhance.Devfeature is enabled, you can use ACCESSTOKEN command to dump all bot's accesstoken.

@Botan626 @SENPAY98K

chr233 commented 2 years ago

The ASFEnhance will not support this feature (for now)

SENPAY98K commented 2 years ago

Great, thanks for the walkthrough

Botan626 commented 2 years ago

https://github.com/chr233/ASFEnhance/blob/master/SetSpeciapProfile.py

To support protobuf is too much work for me, use this script instead, there is no need to login manually, just using accesstoken

If ASFEnhance.Devfeature is enabled, you can use ACCESSTOKEN command to dump all bot's accesstoken.

@Botan626 @SENPAY98K

I added access token in script, launched it from my PC, Python 3.10.0 is installed, script said "done!", but bot's profile didn't change.

chr233 commented 2 years ago

do your bot's account owns that special profile?

Botan626 commented 2 years ago

do your bot's account owns that special profile?

yes, I can apply it manually

chr233 commented 2 years ago

do your bot's account owns that special profile?

yes, I can apply it manually

lol

Botan626 commented 2 years ago

do your bot's account owns that special profile?

yes, I can apply it manually

lol

Why lol? The bot has that special profile in its inventory, I can save it, if I sign in in bot's account. The script doesn't set this special profile for bot.

image