Closed rajagrawal1 closed 3 years ago
Hi @SpikeHD can you help look into this?
I will look into it soon
Looked into it, seems like that category is laid out in a weird way compared to the other ones, so for now I have it suppressing the errors that come from it being a lil off, but I don't actually know whether the category watching itself will work for this one specifically. Apparently they can be more dynamic than I originally thought however long ago I pushed the original category watching update, which will require a much larger change that I simply don't have time for right now.
@SpikeHD I understand, thank you for looking into this.
Oh, right, and I'd also like to add an example for the required_perms
section. Basically, it is a list of Discord permissions (which you can reference here) that will be required in order for someone to use the bot. If there are no valid permissions, anyone can use it, which is fine if you are in a server by yourself. But if you are in a server with many people, you may want to limit it to something like ADMINISTRATOR
.
It would looks something like this:
// I just want anyone to use it
"required_perms": [],
// I want admins to use it
"required_perms": ["ADMINISTRATOR"],
etc.
Describe the issue:
I receive a
DiscoardAPIError
when trying to watch a category.!watch -c https://www.amazon.in/b/?_encoding=UTF8&node=1389401031
on Discord.Windows 10, running the script on my local desktop.
I double checked the URL on browser, and it's working okay. I am not using proxy, and just hitting queries normally. Search queries and individual item watching works fine
required_perms
block. Unsure what to put in it. If you can share a sample example, it will help me understand better.Paste the contents of your
config.json
, excluding the token, here:Provide console output with debug mode enabled: