Class: API


Methods

(async) achievement(text) → {buffer}

Parameters:
Name Type Description
text string Text to apprear
Returns:
The Processed image Buffer
  • Type: buffer
Example:
api.achievement("I made this package!")
    .then((data) => {
        console.log(data);
    })
    .catch((e) => {
        console.log(e);
    });
Source: line 12