AccDiscAPI 1.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AccDiscAPI --version 1.1.0
NuGet\Install-Package AccDiscAPI -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AccDiscAPI" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AccDiscAPI" Version="1.1.0" />
<PackageReference Include="AccDiscAPI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AccDiscAPI --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AccDiscAPI, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AccDiscAPI@1.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AccDiscAPI&version=1.1.0
#tool nuget:?package=AccDiscAPI&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Index
Nugget Package
AccDiscAPI
Description
AccDiscAPI is an unofficial open source wrapper capable of helping you manage a discord account.
Initial configuration
This package need the cookies of an account and the auth. This can be achieved in the header of any packet using a network traffic capture program.
Important If this is not respected the program will not work.
using AccDiscAPI.Models;
//initial setup
Global.Authorization = "XXXXX.XXXXX.XXXXX[...]";
Global.Cookie = "_XxXX=XXXxXXxXxXxXX;[...]";
TODO
- User
- Add Roll
- Delete Rolls
- Guilds
- Get all rolls count
- Emojis
- Download icon
- Edit configuration
- Messages
- Reactions
- Create Threads
- Invites
- Create Invitation
- Get Channel invitations
- User
- Direct message
- Add friend
- Channels
- Send message in channel
- Edit permissions
- Delete channel
- Create channel
- Title channel Class
Documentation
All the classes with their respective methods and attributes are found in this section. </br> This section will be updated with the updates.
Index
- AccDisc
- Guild
- User
- UserGuild
- Roll
- Message
- Invite
- Global
- Attachment
- Accounts
- Channel
- ChannelText
- ChannelVoice
<hr>
AccDisc
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| GetChannelMessages | Get last X message of any channel. | False | List<Message> |
| GetUserInfo | Get user by the id. | False | User |
| GetGuildInfo | Get Guild by id. | False | Guild |
| AddNote | Add personal note by user id. | False | |
| EditMessage | Edit this message. | True | Message |
| DeleteMessage | Delete any message. | True | Bool |
| SendMessage | Send channel message. | False | Message |
| ChangeNick | Change username nickname by id. | True | Message |
| FullMute | Mute or Deaf an user by id. | True | |
| MoveToChannel | Moves the user to a channel. | True | |
| Annoy | Moves the user x number of times. | True |
Guild
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | Guild id | long |
| name | Guild name | string |
| afk_channel_id | AFK channel id | long |
| afk_timeout | AFK time in ms | int |
| discovery_splash | ? | string |
| explicit_content_filter | ? | int |
| features | ? | string |
| icon | Guild icon url | string |
| max_members | Guild max member | int |
| nsfw | NSFW Active | bool |
| nsfw_level | ? | int |
| owner_id | Owner User ID | long |
| preferred_locale | ? | string |
| premium_tier | Nitro lvl | int |
| public_updates_channel_id | ? | long |
| region | Guild region | string |
| roles | All rolls | List<Roll> |
| rules_channel_id | Rules channel id | long |
| verification_level | Verification level | int |
| TextChannel | All Text type channels | List<ChannelText> |
| VoiceChannel | All Voice type channels | List<ChannelVoice> |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| GetRolesCount | Count the number of member of each roll. | True |
User
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | User id | long |
| avatar | User avatar | string |
| avatar_decoration | ? | string |
| discriminator | ? | int |
| public_flags | ? | int |
| flags | ? | int |
| username | User username | string |
| bio | User bio/description | string |
| accent_color | Color | string |
| banner | ? | string |
| banner_color | ? | string |
| connected_accounts | All the aplication related to the user | List<Accounts> |
| mutual_guilds | All Guilds in commont to the user | List<UserGuild> |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| SaveAvatar | Save user avatar asynchronously | False | |
| AddNote | Add personal note to user | False | |
| ChangeNick | Change username nickname. | True | |
| FullMute | Mute or Deaf an user. | True | |
| Annoy | Moves the user x number of times. | True | |
| MoveToChannel | Moves the user to a channel. | True | |
| DisconnectChannel | Disconect user. | True |
UserGuild
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | User Guild id (same as User id) | long |
| nick | User Nick in the Guild | string |
| rolls | All rolls in guild | list string |
| joined_at | User entry Date | string |
Roll
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | Roll id | long |
| name | Roll name | string |
| color | Roll color | list string |
| description | Roll description | string |
| flags | ? | int |
| hoist | ? | bool |
| managed | ? | bool |
| mentionable | If roll is mentionable | bool |
| position | Roll position (related to perms) | int |
| permissions | Perms of rolls | long |
| members | Count of members | int |
Message
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | Message id | long |
| attachments | Attachment of the message if any | List<Attachment> |
| author | Message Author | User |
| channel_id | Channel of the message | long |
| content | Message content | string |
| edited_timestamp | edit date if any | string |
| flags | ? | int |
| mention_everyone | If @everyone | bool |
| mention_roles | If any roll was mentioned | List<Roll> |
| mentions | If any User was mentioned | List<User> |
| referenced_message | Replyed message | Message |
| pinned | If pinned | bool |
| timestamp | Date of message | string |
| tts | tts is active | bool |
| type | message type | int |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| DeleteMessage | Delete this message. | False/True | bool |
| EditMessage | Edit this message. | False/True | Message |
Invite
Atributes
| Atributes | Description | Type |
|---|---|---|
| code | Invitation code | string |
| uses | Number of uses | int |
| expires_at | Expiration date | string |
| created_at | Creation date | string |
| inviter | Creator user | User |
| temporary | if temporary | bool |
| max_age | expiration time | int |
| max_uses | expiration usage | int |
Attachment
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | long | |
| content_type | ? | string |
| filename | Attachment filename | string |
| height | Image height | int |
| width | Image width | int |
| proxy_url | Image url | string |
| size | Image size | int |
| url | string |
Accounts
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | string | |
| name | string | |
| type | ? | string |
| verified | if verified | bool |
Channel
Atributes
| Atributes | Description | Type |
|---|---|---|
| id | Channel id | long |
| name | Channel name | string |
| guild_id | Channel guild | long |
| last_message_id | long | |
| parent_id | Channel parent id | long |
| nsfw | bool | |
| position | Channel position | int |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| GetInvites | Get invitation info | True | List<Invite> |
| ChangeName | Edit name of channel | True | Message |
ChannelText
Atributes
| Atributes | Description | Type |
|---|---|---|
| topic | string | |
| rate_limit_per_user | Wait time restriction | int |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| GetChannelMessages | Get last X message of the channel. | False | List<Message> |
| ChangeTopic | Change topic of channel. | True | |
| ChangeRate | Change the user wait-time in channel. | True |
ChannelVoice
Atributes
| Atributes | Description | Type |
|---|---|---|
| bitrate | int | |
| user_limit | User count Limitation | int |
| rtc_region | string |
Methods
| Method | Description | Perms | Return |
|---|---|---|---|
| ChangeBitrate | Change bitrate of the channel. | True | |
| ChangeUserLimit | Change the user limit per voice channel. | True |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.0)
- RestSharp (>= 108.0.0)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
First release.