Z1xus / self-reaction-bot

A Discord Python Selfbot to put reactions on messages
GNU General Public License v3.0
9 stars 4 forks source link

stuck at logged in as (user) #1

Open userbanes opened 1 year ago

userbanes commented 1 year ago

title

Z1xus commented 1 year ago

Hello. Please make sure you're using the correct user token and have access to the channels you specified in the allowed_ids. Here's a guide on how to obtain your user token: https://www.androidauthority.com/get-discord-token-3149920/

userbanes commented 1 year ago

Hello. Please make sure you're using the correct user token and have access to the channels you specified in the allowed_ids. Here's a guide on how to obtain your user token: https://www.androidauthority.com/get-discord-token-3149920/

Thank you! will try this when i have time.

Z1xus commented 1 year ago

Hi, did it work? Do you mind me closing this as completed?

userbanes commented 1 year ago

nope, didnt work

On Fri, Nov 3, 2023 at 01:54 Z1xus @.***> wrote:

Hi, did it work? Do you mind me closing this as completed?

— Reply to this email directly, view it on GitHub https://github.com/Z1xus/self-reaction-bot/issues/1#issuecomment-1791674565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYPMQ4QN7UB7Z7T2M4BQY3LYCQQCTAVCNFSM6AAAAAA37YWT7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGY3TINJWGU . You are receiving this because you authored the thread.Message ID: @.***>

Z1xus commented 1 year ago

I added more error handling to the latest release, can you try it please? It will now be easier to determine what issue you're encountering.

userbanes commented 11 months ago

image Sorry for late reply, i got around to trying it out but this error kept coming up.

Z1xus commented 11 months ago

No rush, take the time you need. It seems there’s an issue with the channel ID specified in your .env file. I’ve overlooked handling such errors, but I’ll ensure to address this in an upcoming update. To remedy the current situation, confirm that the channel ID you're using is valid and that multiple channel IDs are properly separated by commas, as shown in the following example:

# channel ids where the bot listens for messages
ALLOWED_IDS=1234567890123456789,2345678901234567890,3456789012345678901

For assistance on how to find a channel ID on desktop, you can take a look at this guide: Getting Channel/Guild ID.

userbanes commented 11 months ago

i put in another channel id, it seems that was the fix for that specific error. although another one comes up now. image

userbanes commented 11 months ago

the issue is probably with line 18 but i cant figure it out

Z1xus commented 11 months ago

your environment variable is still not in the correct format ensure you have integer numbers for your min/max delays like shown in the example: image

userbanes commented 11 months ago

USE_PROXY=False PROXY=http://localhost:8080

channel ids where the bot listens for messages

ALLOWED_IDS=1144381510498123848

reactions list in unicode, emoji and escape formats

REACTIONS=1

random delay range in seconds

MIN_DELAY=1 MAX_DELAY=5

userbanes commented 11 months ago

also just defining MIN_DELAY and MAX_DELAY as MIN_DELAYS and MAX_DELAYS within main.py and replacing the old code with min_delay = int(MIN_DELAYS) max_delay = int(MAX_DELAYS) doesnt work either

Z1xus commented 11 months ago

i just tested everything and i have no clue what is happening

Z1xus commented 9 months ago

hello, may you try installing the development version of the discord.py-self and running the bot again? you can do that by executing

git clone https://github.com/dolfies/discord.py-self
cd discord.py-self
python -m pip install -U .

thank you

wastu01 commented 5 months ago

it worked for me.