#DoSg
1 messages · Page 1 of 1 (latest)
client.js file location
if you don't HAVE a client.js then what files do you have? what is your bot's main file called?
and you changed the env file to .env
yes
As in, the WHOLE FILE NAME is .env?
If you don't mind, upload your entire index.js file somewhere. I'll have a look, make sure there is no sensitive stuff like token or client id, etc.
Trying to look where your token references are. Hold up.
Humor me. Try creating a variable inside your index.js and set it equal to your token. Then use that variable to login, or even just use the token itself where you call client.login. I want to make sure the variable is the issue.
client.login(TOKENHERE); ?
client.login("tokenGoesHere") or if you have a variable, then client.login(tokenVariable)
If that did not work, then I think you've done something horribly wrong.
Be honest, did you write the code you're using? It seems overly complicated, and is probably doing more harm than good.
can i give you subuser
Assuming the token ITSELF is not the issue... which it kind of seems like it is... then it's the code.
then you can test it
this is running in host
i need this bot
If all you need is a bot, I'd suggest using one that exists already, don't create your own unless you really need to. You seem very inexperienced in programming.
You can find various websites to get bots from, plenty exist. Surely there is a moderator mail one... or a few thousand.
this is best
Using an existing one you mean?
yes
try this: https://modmail.xyz/