urlToBase64
@discordeno/bot • Docs
Documentation / @discordeno/bot / urlToBase64
Function: urlToBase64()
urlToBase64(
url
):Promise
<string
>
Converts a url to base 64. Useful for example, uploading/creating server emojis.
Parameters
• url: string
Returns
Promise
<string
>
Defined in
packages/utils/dist/types/urlToBase64.d.ts:2