Comments (11)
I'll get most of these done, in addition to guides covering
- Concord on a VAX (with native SSL)
- Concord on Solaris 9
- SSL certificate pinning with libcurl and Concord
- Using Concord natively on Windows
- Windows SSL API
from concord.
You can do that with discord_update_presence(), here is an example for reference!
from concord.
Yeah then forget about that trick.. I assumed just filling up all uint64_t
bits with 1
would work. Concord automatically sets the intent for you based on the events you want to listen to, but in case you still want to set the intents manually you can use an Intents Calculator and then enter that value to discord_add_intents()
.
from concord.
A question about a feature: how do I set a bot's status to do not disturb then back to online in C?
from concord.
Thanks. And, is there a way to enable all intents?
from concord.
discord_add_intents() will do the trick, you can find some of the predefined intents here. If you want to enable all intents you may simply pass it a (doesn't work)UINT64_MAX
flag from stdint.h
from concord.
discord_add_intents() will do the trick, you can find some of the predefined intents here. If you want to enable all intents you may simply pass it a
UINT64_MAX
flag fromstdint.h
It immediately fails with that trick for some reason.
All intents should be good on the website-end of things:
from concord.
It immediately fails with that trick for some reason.
You got some logs? (make sure to enable logging at your config.json
)
from concord.
It immediately fails with that trick for some reason.
You got some logs? (make sure to enable logging at your
config.json
)
Logging does not seem to be working with running clang main.c -o myBot -pthread -ldiscord -lcurl; ./myBot
. "quiet"
is also set to false
in the log.
Though, at least using strerror
, I get Policy not found
.
from concord.
It immediately fails with that trick for some reason.
You got some logs? (make sure to enable logging at your
config.json
)
Sorry, my bad; works differently than I thought.
23:06:06 WARN discord-gateway.c:358: [DISCORD_GATEWAY] CLOSE DISCORD_GATEWAY_CLOSE_REASON_INVALID_INTENTS (code: 4013, 18 bytes): 'Invalid intent(s).'
23:06:06 WARN discord-gateway.c:394: [DISCORD_GATEWAY] Gateway will not attempt to reconnect
23:06:06 WARN discord-gateway.c:792: [DISCORD_GATEWAY] Discord Gateway Shutdown
from concord.
Yeah then forget about that trick.. I assumed just filling up all
uint64_t
bits with1
would work. Concord automatically sets the intent for you based on the events you want to listen to, but in case you still want to set the intents manually you can use an Intents Calculator and then enter that value todiscord_add_intents()
.
That seems to work; thank you. I also just found the Discord server link lol to ask there in the future.
from concord.
Related Issues (20)
- Unable to link concord static library to a shared library. HOT 7
- ThreadSanitizer reports destruction of locked mutex in threadpool_free. HOT 4
- Support HTTP 1.1
- Websocket payloads taking long to be sent HOT 3
- Chash (used on Concord) possible not working on FreeBSD HOT 1
- Segfault due to race conditions in discord_cleanup when called from another thread HOT 7
- Incomplete presence info and guild members HOT 15
- discord_modify_channel rtc_region issue HOT 2
- Insufficient buffer size causes truncation, malformed request
- Signal Safety in concord-once.h HOT 2
- Make Error - Windows, Cygwin HOT 3
- WebSocket upgrade fails with 'server didn't accept the websocket upgrade' error when using an HTTP proxy HOT 1
- Raspberry Pi (64-bit) library setup problem HOT 3
- Easy server member permission checking HOT 1
- Wrong compiler for discord_codecs breaks cross HOT 6
- User-defined memory functions HOT 4
- Ship a pkg-config file
- messages: Support silent flag HOT 12
- `DISCORD_MAX_MESSAGE_LEN` has the wrong value HOT 3
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 concord.