{"id":21278275,"url":"https://github.com/xooter/accdiscapi","last_synced_at":"2026-04-13T08:31:17.216Z","repository":{"id":63769093,"uuid":"570374185","full_name":"Xooter/AccDiscAPI","owner":"Xooter","description":"AccDiscAPI is an unofficial open source library capable of helping you manage a discord account.","archived":false,"fork":false,"pushed_at":"2022-12-07T16:11:45.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T05:36:21.071Z","etag":null,"topics":["api","discord","discordapi"],"latest_commit_sha":null,"homepage":"","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/Xooter.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}},"created_at":"2022-11-25T02:59:50.000Z","updated_at":"2023-02-15T13:29:29.000Z","dependencies_parsed_at":"2023-01-24T18:04:33.300Z","dependency_job_id":null,"html_url":"https://github.com/Xooter/AccDiscAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xooter%2FAccDiscAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xooter%2FAccDiscAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xooter%2FAccDiscAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xooter%2FAccDiscAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xooter","download_url":"https://codeload.github.com/Xooter/AccDiscAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738954,"owners_count":20339997,"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":["api","discord","discordapi"],"created_at":"2024-11-21T10:11:26.201Z","updated_at":"2025-10-17T06:43:52.112Z","avatar_url":"https://github.com/Xooter.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Index**\n\n1. [**AccDiscAPI**](#AccDiscAPI)\n3. [**TODO**](#TODO)\n4. [**Documentation**](#Documentation)\n    \n\n---\n\u003e### Nugget Package\n\u003e[nuget.org](https://www.nuget.org/packages/AccDiscAPI/)\n\n# AccDiscAPI \n\n### **Description** \nAccDiscAPI is an unofficial open source library capable of helping you manage a discord account.\n\n\n### **Initial configuration**\n\nThis package need the cookies of an account and the auth.\nThis can be achieved in the header of any packet using a network traffic capture program.\n\n\n\u003e**Important** If this is not respected the program will not work.\n\n```csharp\nusing AccDiscAPI.Models;\n\n//initial setup\nGlobal.Authorization = \"XXXXX.XXXXX.XXXXX[...]\";\nGlobal.Cookie = \"_XxXX=XXXxXXxXxXxXX;[...]\";\n\n```\n\n---\n\n# TODO\n\n- **User**\n- [ ] Add Roll\n- [ ] Delete Rolls\n- **Guilds**\n- [X] Get all rolls count\n- [ ] Emojis\n- [X] Download icon\n- [ ] Edit configuration\n- **Messages**\n- [ ] Reactions\n- [ ] Create Threads\n- [X] Search Messages\n- **Invites**\n- [ ] Create Invitation\n- [x] Get Channel invitations\n- **User**\n- [ ] Direct message\n- [ ] Add friend\n- **Channels**\n- [ ] Send message in channel\n- [ ] Edit permissions\n- [ ] Delete channel\n- [ ] Create channel\n- [ ] Title channel Class\n- [X] Pins\n---\n\n# Documentation\n\n\nAll the classes with their respective methods and attributes are found in this section.\n\u003c/br\u003e\nThis section will be updated with the updates.\n\n### Index\n- [AccDisc](#AccDisc)\n- [Guild](#Guild)\n- [User](#User)\n- [UserGuild](#UserGuild)\n- [Roll](#Roll)\n- [Message](#Message)\n- [Invite](#Invite)\n- [Global](#Global)\n- [Attachment](#Attachment)\n- [Accounts](#Accounts)\n- [Channel](#Channel)\n- [ChannelText](#ChannelText)\n- [ChannelVoice](#ChannelVoice)\n\n---\n\n## AccDisc\n\n\n#### Methods\n| Method             | Description                        | Perms | Return        |\n|--------------------|------------------------------------|-------|---------------|\n| GetChannelMessages | Get last X message of any channel. | False | List\u003c[Message](#Message)\u003e |\n| GetUserInfo        | Get user by the id.                | False |  [User](#User)          |\n| GetGuildInfo       | Get Guild by id.                   | False |  [Guild](#Guild)         |\n| AddNote            | Add personal note by user id.      | False |               |\n| EditMessage        | Edit this message.                 | True  |  [Message](#Message)       |\n| DeleteMessage      | Delete any message.                | True  | Bool          |\n| SendMessage        | Send channel message.              | False |  [Message](#Message)       |\n| ChangeNick         | Change username nickname by id.    | True  |  [Message](#Message)           |\n| FullMute           | Mute or Deaf an user by id.        | True  |               |\n| MoveToChannel      | Moves the user to a channel.       | True  |               |\n| Annoy              | Moves the user x number of times.  | True  |               |\n| SearchMessage      | Search Messages.  | False  | List\u003c[Message](#Message)\u003e  |\n| EnterGuild      | Enter to Guild  | False  | [Guild](#Guild)\u003e  |\n\n---\n\n## Guild\n\n#### Atributes\n| Atributes               | Description      | Type   |\n|-------------------------|------------------|--------|\n| id                      | Guild id         | long   |\n| name                    | Guild name       | string |\n| afk_channel_id          | AFK channel id   | long   |\n| afk_timeout             | AFK time in ms   | int    |\n| discovery_splash        | ?                | string |\n| explicit_content_filter | ?                | int    |\n| features                | ?                | string |\n| icon                    | Guild icon url   | string |\n| max_members             | Guild max member | int    |\n| nsfw                    | NSFW Active      | bool   |\n| nsfw_level              | ?                | int    |\n| owner_id                | Owner User ID    | long   |\n| preferred_locale        | ?                | string |\n| premium_tier            | Nitro lvl            | int       |\n| public_updates_channel_id | ?                  | long      |\n| region                    | Guild region       | string    |\n| roles                     | All rolls          | List\u003c[Roll](#Roll)\u003e |\n| rules_channel_id          | Rules channel id   | long      |\n| verification_level        | Verification level | int       |\n| TextChannel          | All Text type channels  | List\u003c[ChannelText](#ChannelText)\u003e     |\n| VoiceChannel        | All Voice type channels | List\u003c[ChannelVoice](#ChannelVoice)\u003e    |\n\n#### Methods\n| Method        | Description                              | Perms | Return |\n|---------------|------------------------------------------|-------|--------|\n| GetRolesCount | Count the number of member of each roll. | True  |        |\n| SaveAvatar      | Save Guild avatar asynchronously  | False  |   |\n| SearchMessage      | Search Messages.  | False  | List\u003c[Message](#Message)\u003e  |\n| Exit      | Exit guild.  | False  |    |\n\n## User\n\n#### Atributes\n| Atributes               | Description      | Type   |\n|-------------------------|------------------|--------|\n| id                      | User id         | long   |\n| avatar                    | User avatar       | string |\n| avatar_decoration          | ?   | string   |\n| discriminator             | ?   | int    |\n| public_flags        | ?                | int |\n| flags | ?                | int    |\n| username                | User username               | string |\n| bio                    | User bio/description   | string |\n| accent_color             | Color | string |\n| banner                    | ?      | string |\n| banner_color              | ?                | string    |\n| connected_accounts                | All the aplication related to the user   | List\u003c[Accounts](#Accounts)\u003e   |\n| mutual_guilds        | All Guilds in commont to the user                | List\u003c[UserGuild](#UserGuild)\u003e |\n\n#### Methods\n| Method            | Description                       | Perms | Return |\n|-------------------|-----------------------------------|-------|--------|\n| SaveAvatar        | Save user avatar asynchronously   | False |        |\n| AddNote           | Add personal note to user         | False |        |\n| ChangeNick        | Change username nickname.         | True  |        |\n| FullMute          | Mute or Deaf an user.             | True  |        |\n| Annoy             | Moves the user x number of times. | True  |        |\n| MoveToChannel     | Moves the user to a channel.      | True  |        |\n| DisconnectChannel | Disconect user.                   | True  |        |\n\n## UserGuild\n\n#### Atributes\n| Atributes | Description                     | Type        |\n|-----------|---------------------------------|-------------|\n| id        | User Guild id (same as User id) | long        |\n| nick      | User Nick in the Guild          | string      |\n| rolls     | All rolls in guild              | list string |\n| joined_at | User entry Date                 | string      |\n\n## Roll\n\n#### Atributes\n| Atributes   | Description                      | Type        |\n|-------------|----------------------------------|-------------|\n| id          | Roll id                          | long        |\n| name        | Roll name                        | string      |\n| color       | Roll color                       | list string |\n| description | Roll description                 | string      |\n| flags       | ?                                | int         |\n| hoist       | ?                                | bool        |\n| managed     | ?                                | bool        |\n| mentionable | If roll is mentionable           | bool        |\n| position    | Roll position (related to perms) | int         |\n| permissions | Perms of rolls                   | long        |\n| members     | Count of members                 | int         |\n\n## Message\n\n#### Atributes\n| Atributes          | Description                      | Type            |\n|--------------------|----------------------------------|-----------------|\n| id                 | Message id                       | long            |\n| attachments        | Attachment of the message if any | List\u003c[Attachment](#Attachment)\u003e |\n| author             | Message Author                   | [User](#User)            |\n| channel_id         | Channel of the message           | long            |\n| content            | Message content                  | string          |\n| edited_timestamp   | edit date if any                 | string          |\n| flags              | ?                                | int             |\n| mention_everyone   | If @everyone                     | bool            |\n| mention_roles      | If any roll was mentioned        | List\u003c[Roll](#Roll)\u003e       |\n| mentions           | If any User was mentioned        | List\u003c[User](#User)\u003e       |\n| referenced_message | Replyed message                  | [Message](#Message)         |\n| pinned             | If pinned                        | bool            |\n| timestamp          | Date of message                  | string          |\n| tts                | tts is active                    | bool            |\n| type                | message type                 | int            |\n\n#### Methods\n| Method        | Description          | Perms      | Return  |\n|---------------|----------------------|------------|---------|\n| DeleteMessage | Delete this message. | False/True | bool    |\n| EditMessage   | Edit this message.   | False/True | Message |\n\n## Invite\n\n#### Atributes\n| Atributes  | Description      | Type          |\n|------------|------------------|---------------|\n| code       | Invitation code  | string        |\n| uses       | Number of uses   | int           |\n| expires_at | Expiration date  | string        |\n| created_at | Creation date    | string        |\n| inviter    | Creator user     | [User](#User) |\n| temporary  | if temporary     | bool          |\n| max_age    | expiration time  | int           |\n| max_uses   | expiration usage | int           |\n\n#### Methods\n| Method             | Description                           | Perms | Return                   |\n|--------------------|---------------------------------------|-------|--------------------------|\n| Delete | Delete invitation in the channel    | True | Bool |\n\n\n## Attachment\n\n#### Atributes\n| Atributes    | Description         | Type   |\n|--------------|---------------------|--------|\n| id           |                     | long   |\n| content_type | ?                   | string |\n| filename     | Attachment filename | string |\n| height       | Image height        | int    |\n| width        | Image width         | int    |\n| proxy_url    | Image url           | string |\n| size         | Image size          | int    |\n| url          |                     | string |\n\n#### Methods\n| Method     | Description          | Perms | Return                 |\n|------------|----------------------|-------|------------------------|\n| Save | Save Attachment asynchronously   | False |  |\n## Accounts\n\n#### Atributes\n| Atributes | Description | Type   |\n|-----------|-------------|--------|\n| id        |             | string |\n| name      |             | string |\n| type      | ?           | string |\n| verified  | if verified | bool   |\n\n## Channel\n\n#### Atributes\n| Atributes       | Description       | Type   |\n|-----------------|-------------------|--------|\n| id              | Channel id        | long   |\n| name            | Channel name      | string |\n| guild_id        | Channel guild     | long   |\n| last_message_id |                   | long   |\n| parent_id       | Channel parent id | long   |\n| nsfw            |                   | bool   |\n| position        | Channel position  | int    |\n\n#### Methods\n| Method     | Description          | Perms | Return                 |\n|------------|----------------------|-------|------------------------|\n| SendMessage | Send channel message  | False | [Message](#Message)   |\n| GetInvites | Get invitation info  | True  | List\u003c[Invite](#Invite)\u003e |\n| ChangeName | Edit name of channel | True  |                      |\n| CreateInvitation | Create invitation of channel | True  | [Invite](#Invite)                |\n| Delete | Delete channel | True  | bool    |\n\n### ChannelText\n\n#### Atributes\n| Atributes           | Description           | Type   |\n|---------------------|-----------------------|--------|\n| topic               |                       | string |\n| rate_limit_per_user | Wait time restriction | int    |\n#### Methods\n| Method             | Description                           | Perms | Return                   |\n|--------------------|---------------------------------------|-------|--------------------------|\n| GetChannelMessages | Get last X message of the channel.    | False | List\u003c[Message](#Invite)\u003e |\n| ChangeTopic        | Change topic of channel.              | True  |                          |\n| ChangeRate         | Change the user wait-time in channel. | True  |                          |\n| GetPins  | Get all pins of channel | False  |   List\u003c[Message](#Message)\u003e     |\n\n### ChannelVoice\n\n#### Atributes\n| Atributes       | Description           | Type   |\n|-----------------|-----------------------|--------|\n| bitrate         |                       | int    |\n| user_limit      | User count Limitation | int    |\n| rtc_region      |                       | string |\n#### Methods\n| Method          | Description                              | Perms | Return |\n|-----------------|------------------------------------------|-------|--------|\n| ChangeBitrate   | Change bitrate of the channel.           | True  |        |\n| ChangeUserLimit | Change the user limit per voice channel. | True  |        |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxooter%2Faccdiscapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxooter%2Faccdiscapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxooter%2Faccdiscapi/lists"}