Application

Get App

GetCurrentApplication

Returns the application object associated with the requesting bot user.

import { getApp } from "dressed";
const app = await getApp();

Modify App

PatchCurrentApplication

Edit properties of the app associated with the requesting bot user. Only properties that are passed will be updated.

import { modifyApp } from "dressed";
await modifyApp(data);