-
If can we edit our custom status with API, can you share how to do and if its possible please update repo ;) @rigwild I write there "Hey!". |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This is not documented but I figured out you can edit the Updated the script to allow to edit any profile property. // api.editCurrentUser(username?, bio?, body = {})
await api.editCurrentUser(null, 'hellooooo') |
Beta Was this translation helpful? Give feedback.
-
Edit: rigwild updated I write it myself; Add any line on API; customStatus: (emoji_id, emoji_name, expires_at, text) => apiCall(`/users/@me/settings`, { custom_status: { 'emoji_id': emoji_id, 'emoji_name': emoji_name, 'expires_at': expires_at, 'text': text } }, 'PATCH'), This is how to use; {
await api.customStatus("emoji_id", "👍", "ISO8601 Expire time", "Your text")
// If you're not have Nitro change "emoji_id" to null.
// ISO8601 Expire Time Example: 2025-03-01T13:00:00Z
// Custom Status for 30 Second : new Date(Date.now() + 30 * 1000).toJSON()
// Thanks to Rigwild.
} This is example; {
await api.customStatus(null, "👍", new Date(Date.now() + 30 * 1000).toJSON(), "My Custom Text")
} Attention: If you're making this auto, please set delay to 5 or 10 second if you don't want to be ban for unusual activity. I hope this works, please try this @rigwild . |
Beta Was this translation helpful? Give feedback.
Edit: rigwild updated
index.js
try new codes.I write it myself;
Add any line on API;
This is how to use;
This is example;