Skip to content

Commit

Permalink
Add drip endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lavgup committed Jan 9, 2021
1 parent c02c302 commit 25562b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vacefron",
"version": "3.3.0",
"version": "3.4.0",
"description": "A wrapper for the VACEfron API in TypeScript.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ export class VACEFronJS {
});
}

/**
* Makes a request for a drip image.
* @param avatarURL - The avatar URL of the user.
*/
public drip(avatarURL: string): Promise<Buffer> {
return this.api('drip', { user: avatarURL });
}

/**
* Makes a request for the Among Us Ejected meme.
* @param name - The name of the user being ejected.
Expand Down

0 comments on commit 25562b9

Please sign in to comment.