A Discord Self-Bot API
Project description
A Discord Selfbot Api - discum
Install
from PyPI:
pip install discum
from source (this is up-to-date with recent changes):
git clone https://github.com/Merubokkusu/Discord-S.C.U.M.git
cd Discord-S.C.U.M
cd discum
(now you can use python and import discum)
Usage
import discum
bot = discum.Client('Token')
Check if token is vaild
bot.connectionTest()
get message(s)
getMessage(ChannelID,num=1)
bot.getMessage("383003333751856129")
send text message
sendMessage(ChannelID,message,tts=False)
bot.sendMessage("383003333751856129","Hello You :)")
send file
sendFile(channelID,filelocation,isurl=False,message="")
bot.sendFile("383003333751856129","https://thiscatdoesnotexist.com/",True)
get list of DMs
getDMs()
bot.getDMs()
get list of guilds
getGuilds()
bot.getGuilds()
get list of relationships
getRelationships()
bot.getRelationships()
Relationship Type | description |
---|---|
1 | friend |
2 | block |
3 | incoming friend request |
4 | outgoing friend request |
send friend request
requestFriend()
bot.requestFriend(ID)
accept friend request
acceptFriend()
bot.acceptFriend(ID)
remove friend or unblock user
removeRelationship()
bot.removeRelationship(ID)
send friend request
blockUser()
bot.blockUser(ID)
To Do
- Sending basic text messages
- Sending Images
- Sending Embeds
- Sending Requests (Friends etc)
- Everything
- Update PyPI
Things That Will Never Be Done
Due to limitations these features will never happen
- User profile edits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discum-0.1.0.tar.gz
(5.9 kB
view hashes)
Built Distribution
discum-0.1.0-py3-none-any.whl
(6.9 kB
view hashes)