dscord is a client libray for interacting with Discord. Currently dscord supports the majority footprint of the Discord API with some newer features and changes lacking.
For the moment dscord is in "maintence mode" which means no new features are being worked on but reported bugs will be investigated and any pull requests will be reviewed.
If you're looking for sample code, or example implementations, the following are good places to start:
Dscord is available on dub, and can be easily dropped into new or existing projects.
Some documentation is available here.