runetech0 / discord-telegram-bot

Simple discord to telegram messages forward bot. It receives messages from filtered discord servers and channels and forward these messages to specified telegram channel using telegram api.
46 stars 18 forks source link

add intents fixes #7 #8

Open abe-101 opened 2 years ago

abe-101 commented 2 years ago

In order for the bot to read message content it needs the privileged intent called MESSAGE_CONTENT https://discord.com/developers/docs/topics/gateway#privileged-intents

runetech0 commented 1 year ago

I think discord has dropped the support to run the user tokens on discord.py. But I'll test it and see if it works. Thanks.

abe-101 commented 1 year ago

I think discord has dropped the support to run the user tokens on discord.py. But I'll test it and see if it works. Thanks.

From what I understand the maintainer of discord.py stopped all involvement in the project after much frustration from discord https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1

about a year later it seems he has resumed envolvement: https://gist.github.com/Rapptz/c4324f17a80c94776832430007ad40e6 with the big new relese of v2.0.0

abe-101 commented 1 year ago

I'm realizing now my commit also has a whole bunch of formatting changes I'm removing them now

abe-101 commented 1 year ago

@rehmanali1337 have you got a chance to test my fix?

Son-of-Henry-Ford commented 1 year ago

@rehmanali1337 have you got a chance to test my fix?

Thank you, your edits work)