About
DiscordUserAPI allows you to automate a lot of discord actions needing only a user token. As well as manage bulk discord accounts/tokens.
What you can do:
validate()
- Validates discord token, if valid gathers all basic information about the account (id, email, phone, has nitro, gifts, game pass, payments)
get_profile()
- Gets basic information about the discord profile
get_gifts()
- Gets all gifts on account
get_game_pass()
- Gets xbox game pass code if present
get_nitro()
- Checks status of nitro on account
get_user_channels()
- Gets all DM channels (they're formally known as user channels)
get_guilds()
- Gets all guilds, returns json about each guild
get_friends()
- Gets all friends
get_messages(terms)
- Gets all messages sent through DM's (this should be changed, function is poorly written)
send_messages(msg, channel_id)
- Sends message to channel specified by the channel_id
send_mass_dms(message_list)
- Will dm every open user channel with list of messages (this should be changed, function is poorly written)
set_typing(channel_id)
- Sets user typing in specefied channel
delete_freinds()
- Removes all freinds
leave_guilds()
- Leaves all guilds
delete_channels()
- Deletes all open user channels
get_friends_with_nitro()
- Gets list of all friends with nitro
search(terms)
- Searchs all user channel messages filtered by list of terms
Since this was written with OOP in mind, you can have multiple instances of accounts by just creating multiple Api() objects.
You can save accounts by dumping their json into an accounts.json
file, as shown at line 25
As well as if you have a lot of tokens, create a token.txt
file and they'll all be loaded and then dumped to accounts.json