Comments (9)
Howdy @amirshah2935
First, I highly recommend regenerating your tokens for your .env
file, as they are private credentials and should not be shared.
For windows, I recommend installing docker desktop
after installation,
launch docker desktop,
create the Redis server container by running
docker run --name master-bot-redis -p 6379:6379 -d redis redis-server --save 60 1 --loglevel warning
in console.
Now when you bring back up Docker Desktop you should see master-bot-redis
appear in the containers tab you, can use this to confirm that the Redis server is installed and/or running.
I hope this helps
Much Love
-Bacon
from master-bot.
Hi,
thanks for your promp reply, im gonna test it and update if this is working for me, and yeap i just thought about it yesterday , will be regenerating new token, thanks again for the advise.
regards
from master-bot.
Hi @Bacon-Fixation,
I manage to install Docker Desktop and run The Master-Bot-Redis, shown as running in the container, how do i go on after this, as im trying again, to npm run dev from my terminal, it shows the same error like its not connected with the Docker-Redis
please advise.
from master-bot.
I have a couple of questions, maybe help narrow down the issue a bit better
Are you running the bot on the same pc as the Redis server?
Is the Redis server running before you run the npm run dev
command?
In docker desktop is there a port listed?
Much Love
-Bacon
from master-bot.
yes im running the bot on the same place as the redis server/ docker desktop.
it is shown as running as per ur image there...somehow the ports number is not there and i have fixed it with other command, somehow its works. Thanks a lot..but more error coming..
after running the bots and try to send some /play query, i got some prisma:query error as below image. saying guild not found, i think is due to my bot permission or something but not sure if its correct or not.
from master-bot.
Managed to replicate your error
[0] prisma:query SELECT 1
[0] prisma:query SELECT "public"."Guild"."id", "public"."Guild"."disabled_commands" FROM "public"."Guild" WHERE "public"."Guild"."id" = $1 LIMIT $2 OFFSET $3
[1] 10-21-2022 07:53:15 error: Client Listener TRPCClientError: Guild not found
[1] 10-21-2022 07:53:15 error: Client Listener TRPCClientError: Guild not found
Seems that the bot was invited to your discord server when the bot wasn't running,
with Master-Bot running, kick the bot for your discord server and re-inviting the bot through the bots dashboard http://localhost:3000
or
with Master-Bot running, kick the bot for your discord server and re-inviting the bot with the NEXT_PUBLIC_INVITE_URL
that you made for the .env
file
Much Love
-Bacon
from master-bot.
Managed to replicate your error
[0] prisma:query SELECT 1 [0] prisma:query SELECT "public"."Guild"."id", "public"."Guild"."disabled_commands" FROM "public"."Guild" WHERE "public"."Guild"."id" = $1 LIMIT $2 OFFSET $3 [1] 10-21-2022 07:53:15 error: Client Listener TRPCClientError: Guild not found [1] 10-21-2022 07:53:15 error: Client Listener TRPCClientError: Guild not found
Seems that the bot was invited to your discord server when the bot wasn't running,
with Master-Bot running, kick the bot for your discord server and re-inviting the bot through the bots dashboard http://localhost:3000
or
with Master-Bot running, kick the bot for your discord server and re-inviting the bot with the
NEXT_PUBLIC_INVITE_URL
that you made for the.env
fileMuch Love -Bacon
Yeah I hope to overcome this issue, Discord's API is giving me a hard time with this one and I'm also short on time to figure it out quickly
from master-bot.
Hi Bacon,
I love you so much muahh.. Thanks and appreciate your time in guiding me ..
regards,
from master-bot.
You are very welcome my friend, if you have any other issues, feel free to open a new post, and we will try and figure it out.
Much Love
-Bacon
from master-bot.
Related Issues (20)
- Discussion - bot compatibility with other bots HOT 9
- Invalid enviroment Variables on startup HOT 3
- Crash when attempting to play song HOT 8
- Try signing in with a different account HOT 5
- napi-rs/canvas is not marked as a dependency
- Twitch command not working HOT 4
- Top and Controversial not working in Reddit command HOT 2
- Error: P1000: Authentication failed against database server at `localhost` HOT 5
- npm run dev:bot exited with code -4058 & npm run dev:dashboard exited with code -4058 HOT 8
- `npm run dev` outputting multiple errors HOT 1
- Features to be added back after turborepo rewrite HOT 2
- pnpm i fails HOT 10
- STUCK : Watching for files changes HOT 9
- Not able to access website and bot not responding on discord. HOT 3
- Docker Deployment HOT 2
- My Bot Crash, I`m not able to deploy it on my computer HOT 1
- playlist commands are not working
- Bot joins call after a song is requested, and quits when the song is about to play HOT 1
- Auto db push for guilds HOT 2
- Motivation command no longer works
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from master-bot.