AccDiscAPI 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AccDiscAPI --version 1.4.0
                    
NuGet\Install-Package AccDiscAPI -Version 1.4.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.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AccDiscAPI" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="AccDiscAPI" />
                    
Project file
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.4.0
                    
#r "nuget: AccDiscAPI, 1.4.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.4.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.4.0
                    
Install as a Cake Addin
#tool nuget:?package=AccDiscAPI&version=1.4.0
                    
Install as a Cake Tool

Index

  1. AccDiscAPI
  2. TODO
  3. Documentation

Nugget Package

nuget.org

AccDiscAPI

Description

AccDiscAPI is an unofficial open source library 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
  • Search Messages
  • 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
  • Pins

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

<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
SearchMessage Search Messages. False List<Message>
EnterGuild Enter to Guild False Guild>

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>
SearchMessage Search Messages. False List<Message>
Methods
Method Description Perms Return
GetRolesCount Count the number of member of each roll. True
SaveAvatar Save Guild avatar asynchronously False
SearchMessage Search Messages. False List<Message>
Exit Exit guild. False

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
Methods
Method Description Perms Return
Delete Delete invitation in the channel True Bool

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
Methods
Method Description Perms Return
Save Save Attachment asynchronously False

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
SendMessage Send channel message False Message
GetInvites Get invitation info True List<Invite>
ChangeName Edit name of channel True
CreateInvitation Create invitation of channel True Invite
Delete Delete channel True bool

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
GetPins Get all pins of channel False List<Message>

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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.3 514 12/7/2022
1.4.2 436 12/7/2022
1.4.0 449 11/27/2022
1.1.0 440 11/25/2022

SearchMessage QuitGuild JoinGuild GuildAvatarDownload DeketeChanel ViewPins DeleteInvitation SaveAttachment