{"id":19234413,"url":"https://github.com/depthbomb/discord.addons.extensions","last_synced_at":"2026-06-16T03:31:52.904Z","repository":{"id":221456159,"uuid":"754432977","full_name":"depthbomb/Discord.Addons.Extensions","owner":"depthbomb","description":"An unofficial library for Discord.Net that adds useful extensions.","archived":false,"fork":false,"pushed_at":"2024-02-08T10:48:09.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-27T20:47:01.199Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depthbomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-08T03:14:43.000Z","updated_at":"2024-02-08T03:15:36.000Z","dependencies_parsed_at":"2024-02-08T04:25:43.135Z","dependency_job_id":"8e0cdf65-2bc1-42cc-a30f-bb7c3695352c","html_url":"https://github.com/depthbomb/Discord.Addons.Extensions","commit_stats":null,"previous_names":["depthbomb/discord.addons.extensions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/depthbomb/Discord.Addons.Extensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthbomb%2FDiscord.Addons.Extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthbomb%2FDiscord.Addons.Extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthbomb%2FDiscord.Addons.Extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthbomb%2FDiscord.Addons.Extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depthbomb","download_url":"https://codeload.github.com/depthbomb/Discord.Addons.Extensions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depthbomb%2FDiscord.Addons.Extensions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34390052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-09T16:13:41.942Z","updated_at":"2026-06-16T03:31:52.895Z","avatar_url":"https://github.com/depthbomb.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Discord.Addons.Extensions\n\nI was tired of copying and pasting common extensions I use between [Discord.Net](https://github.com/discord-net/Discord.Net) projects so I extracted them into a shared library.\n\nThis is a still a work-in-progress but features are ready to use.\n\n[![NuGet Downloads](https://img.shields.io/nuget/dt/Discord.Addons.Extensions?style=for-the-badge\u0026logo=nuget\u0026cacheSeconds=600)](https://www.nuget.org/packages/Discord.Addons.Extensions)\n\n[![NuGet Version](https://img.shields.io/nuget/v/Discord.Addons.Extensions?style=for-the-badge\u0026logo=nuget\u0026cacheSeconds=600)](https://www.nuget.org/packages/Discord.Addons.Extensions)\n\n---\n\n### StringExtensions\n\n- `\u003cstring\u003e.ToHeading(int? level)`\n- `\u003cstring\u003e.ToH1()`\n- `\u003cstring\u003e.ToH2()`\n- `\u003cstring\u003e.ToH3()`\n- `\u003cstring\u003e.ToSpoiler()`\n- `\u003cstring\u003e.ToItalic(bool useUnderscores, bool bold)`\n- `\u003cstring\u003e.ToBold(bool italic)`\n- `\u003cstring\u003e.ToUnderline(bool bold, bool italic)`\n- `\u003cstring\u003e.ToStrikethrough()`\n- `\u003cstring\u003e.HideLinkEmbed()`\n- `\u003cstring\u003e.ToQuote()`\n- `\u003cstring\u003e.ToBlockQuote()`\n- `\u003cstring\u003e.ToHyperlink(string url, string? title)`\n- `\u003cstring\u003e.ToHyperlink(Uri url, string? title)`\n- `\u003cstring\u003e.ToInlineCode()`\n- `\u003cstring\u003e.ToCodeBlock(string? language)`\n- `\u003cstring\u003e.IsValidDiscordToken(TokenType? type)`\n- `\u003cstring\u003e.TryValidateDiscordToken(out string? result, TokenType? type)`\n\n### LongExtensions\n\n- `\u003culong\u003e.ToUserMention(bool? ping)`\n- `\u003culong\u003e.ToChannelMention()`\n- `\u003culong\u003e.ToRoleMention()`\n\n### EnumerableExtensions\n\n- `\u003cstring[]\u003e.ToUnorderedList(bool useAsterisks)`\n- `\u003cstring[]\u003e.ToOrderedList()`\n\n### DateTimeExtensions/DateTimeOffsetExtensions\n\n- `\u003cdate\u003e.ToTimestampTag(TimestampTagStyles style)`\n- `\u003cdate\u003e.ToTimestampTag(string style)`\n\n### DiscordSocketClientExtensions\n\n- `\u003cclient\u003e.GetCategoryChannelAsync(ulong channelId)`\n- `\u003cclient\u003e.GetTextChannelAsync(ulong channelId)`\n- `\u003cclient\u003e.GetVoiceChannelAsync(ulong channelId)`\n- `\u003cclient\u003e.GetForumChannelAsync(ulong channelId)`\n- `\u003cclient\u003e.GetThreadChannelAsync(ulong channelId)`\n- `\u003cclient\u003e.GetOrCreateWebhookAsync(ulong channelId, string name, string? auditLogReason)`\n- `\u003cclient\u003e.CreateWebhookAsync(ulong channelId, string name, string? auditLogReason)`\n- `\u003cclient\u003e.GetWebhookAsync(ulong channelId, string name)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthbomb%2Fdiscord.addons.extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepthbomb%2Fdiscord.addons.extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthbomb%2Fdiscord.addons.extensions/lists"}