clearyy / discord-link-opener

Automatically open browser tabs when links matching given constraints are sent in discord channels.
GNU General Public License v3.0
47 stars 28 forks source link

Not openeing links anymore #18

Open naynesh-p opened 3 years ago

naynesh-p commented 3 years ago

since yesterday, running the python script, its not openeing links anymore.

No errors displayed, python scripts launches fine but not opening links Nothing to my knowledge has been updated.

Anyone else having issues?

Shivy011 commented 3 years ago

Yes same issue

Du-Vincent commented 3 years ago

Same here, it actually doesn't recognize any links from other users. If you send the link yourself, it works. Hopefully this can be fixed

Smidelis commented 3 years ago

Yes, the same problem here as well. Tried to fix it, but was not successful until now.

emre1393 commented 3 years ago

i guess discord doesn't let you read channel messages via the bot. probably we hit some limits with the bot and discord blocked this function for us.

Smidelis commented 3 years ago

i guess discord doesn't let you read channel messages via the bot. probably we hit some limits with the bot and discord blocked this function for us.

I was guessing so too. I've just read about the Discord API rate limits but wonder how the on_message event is counted.

StarLordRammi commented 3 years ago

hopefully someone can fix this

emre1393 commented 3 years ago

lets leave it cooldown for a day, maybe discord forgive us.

hp20202006 commented 3 years ago

I have the same issue

orthand commented 3 years ago

Not just a limit: https://stackoverflow.com/questions/67339174/discord-api-soft-ban-for-selfbot-it-can-only-read-its-own-messages/67341709#67341709

hp20202006 commented 3 years ago

Hi guys , I have a temporary solution. I am using this : https://github.com/viossat/discord-forwarder to forward the message to a channel and then the bot(discord-link-opener) can obtain the message content because the message is sent by myself.

Smidelis commented 3 years ago

I also have some sort of workaround. Dubble#0001 from PartAlert has found something, which I have implement. Just have a look at my fork if you are interested.

visiontim commented 3 years ago

I haven't had luck using your fork either.

Smidelis commented 3 years ago

I haven't had luck using your fork either.

Just tried it once again and it's running like a charm at my station. Sad, that it's not working for you.

Smidelis commented 3 years ago

Might be solved, by changing to a different discord.py: https://github.com/dolfies/discord.py-self

qJonnySins commented 3 years ago

Might be solved, by changing to a different discord.py: https://github.com/dolfies/discord.py-self

Hey! May I know your discord name, I have an important question, would be very grateful !

pedrorq commented 3 years ago

Might be solved, by changing to a different discord.py: https://github.com/dolfies/discord.py-self

Is that your fork? After installing it this link opener doesn't even work. Any suggestions/ideas?

Smidelis commented 3 years ago

No, that's my fork: https://github.com/Smidelis/discord-link-opener And it's working like a charm just got me a 3080.

pedrorq commented 3 years ago

No, that's my fork: https://github.com/Smidelis/discord-link-opener And it's working like a charm just got me a 3080.

Nice one, thanks! Was this after installing discord.py-self ?

If not, will it still work with discord.py-self?

Smidelis commented 3 years ago

I have not implemented discord.py-self in my fork. But just have a look at the code, then you will see it. I don't know, give it a try.

pedrorq commented 3 years ago

I have not implemented discord.py-self in my fork. But just have a look at the code, then you will see it. I don't know, give it a try.

I believe it seems to work with discord.py-self, just changing that last line client.run(token,bot=False) with client.run(token)

lorddain commented 3 years ago

can confirm I was able to get it running by installing discord.py-self (py -3 -m pip install -U discord.py-self) and changing last line in code as proposed. Thanks a lot!