-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PREFIX not working #1
Comments
Sorry, not quite clear on what you're asking. As a test, if |
I don't know why but when I use the command '?help' it didn't work. I've given the bot admin permission to make sure it's not because of it. But it still doesn't work. I've put every environment variables and every value you asked to add. In my GOOGLE_APPLICATION_CREDENTIALS I put the directory to my key which is C:\Users\Win7\Desktop\dialogflow-to-discord-masterkey.json(my key name, not key.json). I ran the command 'node index.js' in my terminal inside the folder. The message after the command says "Ready!" but it didn't work. I've tried regenerating the token and changing the DISCORD_TOKEN with the new token. I didn't change anything inside my key.json, which I got from the google cloud platform and setting them up. I gave it all of the Dialogflow roles I could possibly give, but nothing more than that. I put my own Gmail when I was asked to fill the service account user role. I also filled the service account admins role with my own Gmail. I then generate the key and saved it as a .JSON file. |
I haven't used this in a while, but it seems like you have it configured correctly. What happens if you try to DM the bot? |
So I did everything correctly and it was able to start without any error... But the problem here is that I don't know how I can use the prefix to do what's it's supposed to do. In the prefix environment variable, I put '?' as the prefix. Do you have any idea what might cause this problem?
The text was updated successfully, but these errors were encountered: