{"id":17275453,"url":"https://github.com/misha-133/discord.net.extensions.interactions","last_synced_at":"2025-10-15T18:23:35.361Z","repository":{"id":88410892,"uuid":"607040717","full_name":"Misha-133/Discord.Net.Extensions.Interactions","owner":"Misha-133","description":"Extensions for Discord.Net.Interaction","archived":false,"fork":false,"pushed_at":"2025-03-10T07:20:54.000Z","size":94,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T09:12:41.980Z","etag":null,"topics":["csharp","discord","discord-api","discord-net"],"latest_commit_sha":null,"homepage":"","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/Misha-133.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-02-27T07:24:40.000Z","updated_at":"2025-01-20T07:23:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3f3e07b-d7f1-4617-a9ae-185945c25013","html_url":"https://github.com/Misha-133/Discord.Net.Extensions.Interactions","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Misha-133%2FDiscord.Net.Extensions.Interactions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Misha-133%2FDiscord.Net.Extensions.Interactions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Misha-133%2FDiscord.Net.Extensions.Interactions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Misha-133%2FDiscord.Net.Extensions.Interactions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Misha-133","download_url":"https://codeload.github.com/Misha-133/Discord.Net.Extensions.Interactions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852182,"owners_count":21171842,"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":["csharp","discord","discord-api","discord-net"],"created_at":"2024-10-15T08:56:17.470Z","updated_at":"2025-10-15T18:23:30.326Z","avatar_url":"https://github.com/Misha-133.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord.Net.Extensions.Interactions\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Discord.Net.Extensions.Interactions/\"\u003e\n    \u003cimg src=\"https://img.shields.io/nuget/v/Discord.Net.Extensions.Interactions?style=flat\" alt=\"NuGet\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/dnet\"\u003e\n    \u003cimg src=\"https://discord.com/api/guilds/848176216011046962/widget.png\" alt=\"Discord\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nAn extension that provides additional functionality to [Discord.Net](https://github.com/discord-net/Discord.Net).Interactions package.\n\n## Installation\n- [Nuget](https://www.nuget.org/packages/Discord.Net.Extensions.Interactions)\n\n## Features\n- [guild-only command modules](https://github.com/Misha-133/Discord.Net.Extensions.Interactions#guild-only-commands)\n\n## Examples\n### Guild-only commands\nCommands modules that inherit from `InteractionModuleBase` can be marked with a `[GuildModule]` attribute to register them only to guilds with provided ids, while all other modules will be registered globally.\n```cs\n[GuildModule(123456, 69696969, 1337)]\npublic class ExampleModule : InteractionModuleBase\u003cSocketInteractionContext\u003e\n{\n\n}\n```\n\ninteractionService`RegisterCommandsAsync` extension method has to be used to register commands. \n```cs\nawait interactionService.RegisterCommandsAsync();\n```\n\n## Support\n\nStill have questions or want to request a feature? Contact me in [Discord.Net](https://discord.gg/dnet) discord server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisha-133%2Fdiscord.net.extensions.interactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisha-133%2Fdiscord.net.extensions.interactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisha-133%2Fdiscord.net.extensions.interactions/lists"}