Open userbanes opened 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/
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.
Hi, did it work? Do you mind me closing this as completed?
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: @.***>
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.
Sorry for late reply, i got around to trying it out but this error kept coming up.
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.
i put in another channel id, it seems that was the fix for that specific error. although another one comes up now.
the issue is probably with line 18 but i cant figure it out
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:
USE_PROXY=False PROXY=http://localhost:8080
ALLOWED_IDS=1144381510498123848
REACTIONS=1
MIN_DELAY=1 MAX_DELAY=5
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
i just tested everything and i have no clue what is happening
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
it worked for me.
title