{"id":28968308,"url":"https://github.com/defxult/discord.cs","last_synced_at":"2026-04-16T20:33:18.622Z","repository":{"id":300624144,"uuid":"1006432058","full_name":"Defxult/discord.cs","owner":"Defxult","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-22T18:39:16.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-22T19:36:17.687Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Defxult.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T08:56:48.000Z","updated_at":"2025-06-22T18:39:19.000Z","dependencies_parsed_at":"2025-06-22T19:48:47.413Z","dependency_job_id":null,"html_url":"https://github.com/Defxult/discord.cs","commit_stats":null,"previous_names":["defxult/discord.cs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Defxult/discord.cs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defxult%2Fdiscord.cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defxult%2Fdiscord.cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defxult%2Fdiscord.cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defxult%2Fdiscord.cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Defxult","download_url":"https://codeload.github.com/Defxult/discord.cs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defxult%2Fdiscord.cs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261640897,"owners_count":23188426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-24T09:05:46.243Z","updated_at":"2026-04-16T20:33:18.616Z","avatar_url":"https://github.com/Defxult.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord.cs\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/Ga58T1q.png\" width=\"550\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eAn in development Discord API library written in C#.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=version\u0026style=for-the-badge\u0026message=0.0.5-alpha\u0026color=c869ff\"\u003e\n    \u003c!-- \u003ca href=\"https://google.com\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=guide\u0026style=for-the-badge\u0026message=gitbook\u0026color=5865f2\"\u003e\u003c/a\u003e --\u003e\n\u003c/p\u003e\n\n## Discord\nJoin the official [Discord server](https://discord.gg/6TNJHcGRYv) for discord.cs! Get support, updates/announcements, and contribute to development.\n\n## NuGet\nDiscord.cs is on [NuGet](https://www.nuget.org/packages/Discord.cs/). In the early stages of development, any help testing the library is appreciated!\n\n## Basic Usage\n```csharp\n// The following simply brings your bot online and responds to a message.\n\nusing Discord;\nusing Discord.Models;\n\n// Set your bot token.\nEnvironment.SetEnvironmentVariable(\"DISCORD_BOT_TOKEN\", \"\u003ctoken\u003e\");\nvar bot = new Bot(Intents.Default);\n\n// Listen for messages.\nbot.Events.OnMessageCreate += async (_, message) =\u003e\n{\n    // Don't respond to bot messages (ourselves) to avoid a loop.\n    if (message.Author.IsBot)\n        return;\n    \n    if (message.Content == \"hi\")\n        await message.Channel.SendAsync(\"Hello! 👋\")\n};\n\nawait bot.ConnectAsync();    \nawait Task.Delay(-1);\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefxult%2Fdiscord.cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefxult%2Fdiscord.cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefxult%2Fdiscord.cs/lists"}