Comments (3)
This isn't a well written issue.
Are you in the same server as your bot?
Are there any errors in console?
Did you enable the Activity intent in the bot's settings?
from lanyard.
The Bot is in The Same Server as I am & Activity Intent is also "On" !
Regarding The Errors in Console, It isnt able to Connect With My Redis Server Locally Hosted in Docker
Docker Command I Used : docker run --rm -it -p 4001:4001 -e REDIS_HOST=redis:latest -e BOT_TOKEN=tokenofmybot --link redis-6d3G phineas/lanyard:latest
This is My Redis String : redis://default:redispw@localhost:49153
Here is the error code while running the docker command
08:40:57.903 [info] Discord bot running on #PID<0.1420.0>
08:40:58.367 [debug] Discord: Hello
08:40:58.707 [debug] Discord: Heartbeat ACK
08:41:02.909 [error] Task #PID<0.1431.0> started from #PID<0.1420.0> terminating
** (MatchError) no match of right hand side value: {:error, {{:badmatch, {:error, %Redix.ConnectionError{reason: :closed}}}, [{Lanyard.Connectivity.Redis, :hgetall, 1, [file: 'lib/connectivity/redis.ex', line: 92]}, {Lanyard.Presence, :init, 1, [file: 'lib/presence/presence.ex', line: 23]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 423]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 390]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}}
(lanyard 0.1.0) lib/gateway/client.ex:316: anonymous fn/2 in Lanyard.Gateway.Client.create_member_presences/1
(elixir 1.12.3) lib/enum.ex:930: Enum."-each/2-lists^foreach/1-0-"/2
(elixir 1.12.3) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(stdlib 3.17.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: #Function<0.22764603/0 in Lanyard.Gateway.Client.create_member_presences/1>
from lanyard.
The Bot is in The Same Server as I am & Activity Intent is also "On" !
Regarding The Errors in Console, It isnt able to Connect With My Redis Server Locally Hosted in Docker
Docker Command I Used : docker run --rm -it -p 4001:4001 -e REDIS_HOST=redis:latest -e BOT_TOKEN=tokenofmybot --link redis-6d3G phineas/lanyard:latest This is My Redis String : redis://default:redispw@localhost:49153
Here is the error code while running the docker command
08:40:57.903 [info] Discord bot running on #PID<0.1420.0>
08:40:58.367 [debug] Discord: Hello
08:40:58.707 [debug] Discord: Heartbeat ACK
08:41:02.909 [error] Task #PID<0.1431.0> started from #PID<0.1420.0> terminating ** (MatchError) no match of right hand side value: {:error, {{:badmatch, {:error, %Redix.ConnectionError{reason: :closed}}}, [{Lanyard.Connectivity.Redis, :hgetall, 1, [file: 'lib/connectivity/redis.ex', line: 92]}, {Lanyard.Presence, :init, 1, [file: 'lib/presence/presence.ex', line: 23]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 423]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 390]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}} (lanyard 0.1.0) lib/gateway/client.ex:316: anonymous fn/2 in Lanyard.Gateway.Client.create_member_presences/1 (elixir 1.12.3) lib/enum.ex:930: Enum."-each/2-lists^foreach/1-0-"/2 (elixir 1.12.3) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2 (stdlib 3.17.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 Function: #Function<0.22764603/0 in Lanyard.Gateway.Client.create_member_presences/1>
Issue Resolved When I Use docker-compose file, it wasn't able to connect to the Redis Server
Thanks Phineas ✌
from lanyard.
Related Issues (16)
- Add community projects to Readme HOT 10
- Showing Discord Presence HOT 1
- Needed help. HOT 1
- Hello Phineas Great! hurrah
- Discord Bots? HOT 3
- Lanyard get button url? HOT 1
- Discord Status HOT 9
- New username system HOT 3
- Add ademcancertel to README HOT 1
- Time Elapsed?
- Suggestion: Custom CORS Header? HOT 2
- Discord Bio & Banner? HOT 10
- Missing info at example response: spotify track id HOT 1
- Lanyard API not working HOT 3
- Check if users avatar is gif [ suggestion ] HOT 1
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 lanyard.