Scripting Resources & Utilities > Stealth scripts

[py] Discord Vendor Search

(1/1)

unisharp:
Hi

Pretty simple idea, throw a command in Discord to initiate an in-game Vendor Search and output the results to Discord.  You could easily build a vendor search sniping bot from this code.

https://github.com/unisharpUO/VendorSearcher

Becareful with search results, I haven't added anything to limit this.  If you want to limit search results edit main.py line 42


--- Code: ---for _result in _results:
--- End code ---
to

--- Code: ---for _result in _results[:10]:
--- End code ---
for first 10 results


SCREENSHOT:



SETUP:
1. https://discordpy.readthedocs.io/en/latest/discord.html
2. take your token, create a .env file in the same location as vendorsearcher, add "DISCORD_TOKEN=" with your token, without the quotes to the .env file


REQUIRED PACKAGES:
1. discord.py - https://pypi.org/project/discord.py/
2. dotenv - https://pypi.org/project/python-dotenv/

Tidus:
I love this idea

zchosen:
nice one, im on it :)

Crisis:

--- Quote from: zchosen on October 14, 2020, 01:56:09 AM ---nice one, im on it :)

--- End quote ---

You may want to look at this post to see why you cannot download these. http://www.scriptuo.com/index.php?topic=1750.0

Navigation

[0] Message Index

Go to full version