Discord API toolkit for user tokens
Project description
saferates
Developed by: DriizzyyB
NOTE: Automation with user tokens is a ToS violation and will get your account banned.
Please be careful when using this module. If you need any support, join my Discord below. https://discord.gg/2WPWZdKZxs
Usage
from saferates import (
SaferatesAPI,
SaferatesUser,
SaferatesChannels,
SaferatesGuilds,
SaferatesFriends,
saferates_encode_emoji,
saferates_upload_file,
)
token = "YOUR_USER_TOKEN"
api = SaferatesAPI(token)
# User
user = SaferatesUser(api)
print(user.profile())
print(user.settings())
# Channels
channels = SaferatesChannels(api)
channels.send_message("CHANNEL_ID", "Hello from saferates! " + saferates_encode_emoji("😄"))
channels.send_file("CHANNEL_ID", "example.png", "Here is an image.")
# Friends
friends = SaferatesFriends(api)
friends.add("USER_ID")
# Guilds
guilds = SaferatesGuilds(api)
print(guilds.list())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saferates-0.2.0.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file saferates-0.2.0.tar.gz.
File metadata
- Download URL: saferates-0.2.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9583b0bc1e9f9e62cda9cf2060d5c67726b4aef77490ee5f305f04f02d3f40a9
|
|
| MD5 |
69048cb60e5848f995086eb49c9c8b62
|
|
| BLAKE2b-256 |
e5816b45a951deb5acd39e20e6d267bc37879e00a707d2c46f5322f77dab826f
|
File details
Details for the file saferates-0.2.0-py3-none-any.whl.
File metadata
- Download URL: saferates-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086d7f0453d41faf3323d1ee63533a8881ac32de89729833a7eab0f262066a6d
|
|
| MD5 |
abfce419a78611f93d719c74e7d4ff2b
|
|
| BLAKE2b-256 |
4e6faf26310e37e17353d557c38a5abcb89f222eac601743c3df1c0b9f3cbb5d
|