owohamper / valorant-item-shop-discord-bot Goto Github PK
View Code? Open in Web Editor NEWValorant-item-shop-discord-bot
Valorant-item-shop-discord-bot
Request : Modify it so that it outputs the Store Items in the CMD window.
When shop command is called, it just loads the first bundle and does not load anything else.
Error in python :
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\LEGION-VEE\Desktop\item_shop_viewer.py", line 349, in on_message
await message.channel.send(embed=embed)
File "C:\Python39\lib\site-packages\discord\abc.py", line 1065, in send
data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
File "C:\Python39\lib\site-packages\discord\http.py", line 254, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.image.url: Scheme "none" is not supported. Scheme must be one of ('http', 'https').
hey, is there a way to get the store for everyone not just the account i put in?
The Bot Is turned on and everything but when i run "!shop" it crashes after saying loading shop and displays this error
XGVALSTORE#0472 is connected
Ignoring exception in on_message
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "item_shop_viewer.py", line 345, in on_message
skin_data = skins(entitlements_token, access_token, user_id)
File "item_shop_viewer.py", line 219, in skins
for row_small in content_data[row]:
TypeError: 'int' object is not iterable
when i type !shop in the discord it gives me this in the terminal: Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\nextcord\client.py", line 499, in _run_event
await coro(*args, **kwargs)
File "c:\Github\Valorant-item-shop-discord-bot\item_shop_viewer.py", line 387, in on_message
for skin in skin_list:
NameError: name 'skin_list' is not defined
REGION = "SEA"
Prefix = "!" # Bot's Prefix
username = "username riot"
password = "pass riot"
bot_token = "OTUyNTY1MjUyNTk0MjIxMDk2.Yi33hg.Z_UV7BwjJ5-3Kc5PG5L7cKaUrDE"
user_in_chat = False
msg = 0
author = 0
#it must be id!
ChannelToSentNotifications = int("849284856406867968")
#it must be id!
user_to_ping = int("254946461492576257")
It would be nice if the bot pinged us in discord when the item we want appears in the shop.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.