All Projects → yourWaifu → Sleepy Discord

yourWaifu / Sleepy Discord

Licence: mit
C++ library for the Discord chat client

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Sleepy Discord

Nostrum
Elixir Discord Library
Stars: ✭ 274 (-40.31%)
Mutual labels:  library, discord
Discpp
Simplified, but feature rich Discord API wrapper written in modern C++.
Stars: ✭ 31 (-93.25%)
Mutual labels:  library, discord
Discord.io
A small, single-file library for creating DiscordApp clients from Node.js or the browser
Stars: ✭ 511 (+11.33%)
Mutual labels:  library, discord
Discord.jl
The Julia Discord API Wrapper
Stars: ✭ 93 (-79.74%)
Mutual labels:  library, discord
Aegis.cpp
Discord C++ library for interfacing with the API. Join our server:
Stars: ✭ 198 (-56.86%)
Mutual labels:  library, discord
Alchemy
A discord library for Elixir
Stars: ✭ 104 (-77.34%)
Mutual labels:  library, discord
Discord.js Menu
💬 Easily create Discord.js v12 embed menus with reactions and unlimited customizable pages.
Stars: ✭ 89 (-80.61%)
Mutual labels:  library, discord
Discordeno
Discord API library for Deno
Stars: ✭ 254 (-44.66%)
Mutual labels:  library, discord
Discord Rpc Csharp
C# custom implementation for Discord Rich Presence. Not deprecated and still available!
Stars: ✭ 282 (-38.56%)
Mutual labels:  library, discord
Android Dev Sources
All those Android development sources that you need to be and stay awesome!
Stars: ✭ 434 (-5.45%)
Mutual labels:  library
Ivi
🔥 Javascript (TypeScript) library for building web user interfaces
Stars: ✭ 445 (-3.05%)
Mutual labels:  library
Globjects
C++ library strictly wrapping OpenGL objects.
Stars: ✭ 431 (-6.1%)
Mutual labels:  library
Pyrlang
Erlang node implemented in Python 3.5+ (Asyncio-based)
Stars: ✭ 436 (-5.01%)
Mutual labels:  library
Discord Bot Client
A patched version of discord, with bot login support
Stars: ✭ 441 (-3.92%)
Mutual labels:  discord
React Native Blurhash
🖼️ A library to show colorful blurry placeholders while your content loads.
Stars: ✭ 430 (-6.32%)
Mutual labels:  library
Chat Api
WhatsApp's Private API
Stars: ✭ 4,251 (+826.14%)
Mutual labels:  library
Discord Akairo
A bot framework for Discord.js.
Stars: ✭ 433 (-5.66%)
Mutual labels:  discord
Create React Library
⚡CLI for creating reusable react libraries.
Stars: ✭ 4,554 (+892.16%)
Mutual labels:  library
Robodanny
A discord bot for servers that I like.
Stars: ✭ 459 (+0%)
Mutual labels:  discord
Yagpdb
Yet another general purpose discord bot
Stars: ✭ 452 (-1.53%)
Mutual labels:  discord

Sleepy Discord

C++ library for Discord

Note: Sleepy Discord is pronounced as CP Discord, like the letters C and P. Actually, that's a joke. Sleepy should be pronounced the way you would normally pronounce sleepy.

Discord Server

Documentation

Getting Started

If you like to edit them, please check out the docs repo.

Build Status

OS Windows Ubuntu
Master Build Status Build Status
Develop Build Status Build Status

Why?

Just for the novelty of using a C++ library for Discord. I would also love for this thing to work on many things like consoles and maybe some microcontrollers.

Example

#include "sleepy_discord/sleepy_discord.h"

class MyClientClass : public SleepyDiscord::DiscordClient {
public:
	using SleepyDiscord::DiscordClient::DiscordClient;
	void onMessage(SleepyDiscord::Message message) override {
		if (message.startsWith("whcg hello"))
			sendMessage(message.channelID, "Hello " + message.author.username);
	}
};

int main() {
	myClientClass client("token", SleepyDiscord::USER_CONTROLED_THREADS);
	client.run();
}

Input: Message received

whcg hello

Possible Output: Message sent

Hello Sleepy Flower Girl

More complex examples:

Will Updating the library break my bot?

Yes, and for now I don't plan on making 0.0 versions backwards compatible with 1.0 versions or later.

Requirements

Sleepy Discord doesn't require you to use any libraries, so that you can use any library you wish or your own code. However, Sleepy Discord provides native support for a few libraries and it is recommend you use those instead of writing your own.

Develop Branch

For the cutting edge of Sleepy Discord, check out the develop branch. Please use the develop branch with caution because it may not even be able to compile or it is 100% not tested at all. Other then that, the branch is used for code that may not work. Also check to see if it's not behind the master branch, unless you want to use an older version of Sleepy Discord.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].