Discord API toolkit for user tokens only, with rate limit bypass.
Project description
saferates
Developed by: DriizzyyB
NOTE: Automation with user tokens is a ToS violation and will get your account banned.
This library is for educational use only.
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.1.3.tar.gz
(3.8 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.1.3.tar.gz.
File metadata
- Download URL: saferates-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
402dc68795e536e30f1da9f52dc142f796ad90d1c73ffc920a00ac7add5b65e2
|
|
| MD5 |
8782a865e54f59f84208afa5169bbaa2
|
|
| BLAKE2b-256 |
392248656dbbb13952ca8b34864d8dbda795f4c2e0d4c19c3e8b36f7ea9e9867
|
File details
Details for the file saferates-0.1.3-py3-none-any.whl.
File metadata
- Download URL: saferates-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.4 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 |
56eb63928d487046dc6296b435e9fada020e91d18c845a96a0c1808186bceb0d
|
|
| MD5 |
65ea136a9958b8e27dee15dc3f663d42
|
|
| BLAKE2b-256 |
76876855a863dc309a3c4a877842a543d9aa3b5645fdf591608509dc13444271
|