Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
See here an overcomplicated way to wait for input from a user using a modal. Every step is explained using comments.
This is meant to replace Client.wait_for("message")
for application commands.
[PlayerFeedback_CheckForSurvey] POST | |
[PlayerFeedback_SendAnswers] POST | |
[PatchNotes_GetPatchNotes] GET | |
[AggStats_Fetch] GET | |
[AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id} | |
[Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap |
#!/bin/sh | |
# Based on BMitch's answer from: | |
# https://stackoverflow.com/questions/38946683/how-to-test-dockerignore-file | |
# Note: will create and delete temporary file "Dockerfile.build-context" | |
# 1. Copy to project folder where image is being built | |
# 2. Run script | |
# 3. You should see list of files in build context |
REST API response format based on some of the best practices
/** | |
* Translates a string to a Thai slug format. | |
* @param {string} inputString - The string to translate. | |
* @returns {string} The translated string. | |
*/ | |
function toThaiSlug(inputString) { | |
// Replace spaces with hyphens | |
let slug = inputString.replace(/\s+/g, '-'); | |
// Translate some characters to Thai |