Skip to content

Latest commit

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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.

usingAccDiscAPI.Models;//initial setupGlobal.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.
This section will be updated with the updates.

Index


AccDisc

Methods

MethodDescriptionPermsReturn
GetChannelMessagesGet last X message of any channel.FalseList<Message>
GetUserInfoGet user by the id.FalseUser
GetGuildInfoGet Guild by id.FalseGuild
AddNoteAdd personal note by user id.False
EditMessageEdit this message.TrueMessage
DeleteMessageDelete any message.TrueBool
SendMessageSend channel message.FalseMessage
ChangeNickChange username nickname by id.TrueMessage
FullMuteMute or Deaf an user by id.True
MoveToChannelMoves the user to a channel.True
AnnoyMoves the user x number of times.True
SearchMessageSearch Messages.FalseList<Message>
EnterGuildEnter to GuildFalseGuild>

Guild

Atributes

AtributesDescriptionType
idGuild idlong
nameGuild namestring
afk_channel_idAFK channel idlong
afk_timeoutAFK time in msint
discovery_splash?string
explicit_content_filter?int
features?string
iconGuild icon urlstring
max_membersGuild max memberint
nsfwNSFW Activebool
nsfw_level?int
owner_idOwner User IDlong
preferred_locale?string
premium_tierNitro lvlint
public_updates_channel_id?long
regionGuild regionstring
rolesAll rollsList<Roll>
rules_channel_idRules channel idlong
verification_levelVerification levelint
TextChannelAll Text type channelsList<ChannelText>
VoiceChannelAll Voice type channelsList<ChannelVoice>

Methods

MethodDescriptionPermsReturn
GetRolesCountCount the number of member of each roll.True
SaveAvatarSave Guild avatar asynchronouslyFalse
SearchMessageSearch Messages.FalseList<Message>
ExitExit guild.False

User

Atributes

AtributesDescriptionType
idUser idlong
avatarUser avatarstring
avatar_decoration?string
discriminator?int
public_flags?int
flags?int
usernameUser usernamestring
bioUser bio/descriptionstring
accent_colorColorstring
banner?string
banner_color?string
connected_accountsAll the aplication related to the userList<Accounts>
mutual_guildsAll Guilds in commont to the userList<UserGuild>

Methods

MethodDescriptionPermsReturn
SaveAvatarSave user avatar asynchronouslyFalse
AddNoteAdd personal note to userFalse
ChangeNickChange username nickname.True
FullMuteMute or Deaf an user.True
AnnoyMoves the user x number of times.True
MoveToChannelMoves the user to a channel.True
DisconnectChannelDisconect user.True

UserGuild

Atributes

AtributesDescriptionType
idUser Guild id (same as User id)long
nickUser Nick in the Guildstring
rollsAll rolls in guildlist string
joined_atUser entry Datestring

Roll

Atributes

AtributesDescriptionType
idRoll idlong
nameRoll namestring
colorRoll colorlist string
descriptionRoll descriptionstring
flags?int
hoist?bool
managed?bool
mentionableIf roll is mentionablebool
positionRoll position (related to perms)int
permissionsPerms of rollslong
membersCount of membersint

Message

Atributes

AtributesDescriptionType
idMessage idlong
attachmentsAttachment of the message if anyList<Attachment>
authorMessage AuthorUser
channel_idChannel of the messagelong
contentMessage contentstring
edited_timestampedit date if anystring
flags?int
mention_everyoneIf @everyonebool
mention_rolesIf any roll was mentionedList<Roll>
mentionsIf any User was mentionedList<User>
referenced_messageReplyed messageMessage
pinnedIf pinnedbool
timestampDate of messagestring
ttstts is activebool
typemessage typeint

Methods

MethodDescriptionPermsReturn
DeleteMessageDelete this message.False/Truebool
EditMessageEdit this message.False/TrueMessage

Invite

Atributes

AtributesDescriptionType
codeInvitation codestring
usesNumber of usesint
expires_atExpiration datestring
created_atCreation datestring
inviterCreator userUser
temporaryif temporarybool
max_ageexpiration timeint
max_usesexpiration usageint

Methods

MethodDescriptionPermsReturn
DeleteDelete invitation in the channelTrueBool

Attachment

Atributes

AtributesDescriptionType
idlong
content_type?string
filenameAttachment filenamestring
heightImage heightint
widthImage widthint
proxy_urlImage urlstring
sizeImage sizeint
urlstring

Methods

MethodDescriptionPermsReturn
SaveSave Attachment asynchronouslyFalse

Accounts

Atributes

AtributesDescriptionType
idstring
namestring
type?string
verifiedif verifiedbool

Channel

Atributes

AtributesDescriptionType
idChannel idlong
nameChannel namestring
guild_idChannel guildlong
last_message_idlong
parent_idChannel parent idlong
nsfwbool
positionChannel positionint

Methods

MethodDescriptionPermsReturn
SendMessageSend channel messageFalseMessage
GetInvitesGet invitation infoTrueList<Invite>
ChangeNameEdit name of channelTrue
CreateInvitationCreate invitation of channelTrueInvite
DeleteDelete channelTruebool

ChannelText

Atributes

AtributesDescriptionType
topicstring
rate_limit_per_userWait time restrictionint

Methods

MethodDescriptionPermsReturn
GetChannelMessagesGet last X message of the channel.FalseList<Message>
ChangeTopicChange topic of channel.True
ChangeRateChange the user wait-time in channel.True
GetPinsGet all pins of channelFalseList<Message>

ChannelVoice

Atributes

AtributesDescriptionType
bitrateint
user_limitUser count Limitationint
rtc_regionstring

Methods

MethodDescriptionPermsReturn
ChangeBitrateChange bitrate of the channel.True
ChangeUserLimitChange the user limit per voice channel.True

About

AccDiscAPI is an unofficial open source library capable of helping you manage a discord account.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages