simmsb / racket-cord Goto Github PK
View Code? Open in Web Editor NEWA discord library for racket
License: MIT License
A discord library for racket
License: MIT License
First of all, thanks for this very comprehensive Discord lib thanks to which I can improve my knowledge of Racket implementing a useful Discord bot. I should also say that it works flawlessly and I'm only posting this because I saw the contract violation warning messages and thought you might be interested. So here it is with user info removed from the output (it happens during event-guild-member-update):
hash-ref: contract violation
expected: hash?
given: (list (member (user "...
argument position: 1st
other arguments...:
"908329..."
context...:
/home/gluon/.racket/7.1/pkgs/racket-cord/events.rkt:174:0: event-guild-member-update
/home/gluon/.racket/7.1/pkgs/racket-cord/utils.rkt:25:2: for-loop
/home/gluon/.racket/7.1/pkgs/racket-cord/utils.rkt:24:0: each
Following the example here: https://docs.racket-lang.org/racket-cord/index.html, the console got stuck at
[debug] discord: IDENTIFYING
[debug] discord: Starting to heartbeat at a period of 165/4 sec
[debug] discord: DISPATCHING EVENT: READY
after starting. Did I miss something or is it a known bug?
As in title. It would be cool if [in the transition period] we could access the raw data somehow - I don't see a way of getting data for the guild, instead of getting a struct. Something like get-raw-guild
to accompany get-guild
maybe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.