Application

Get Current Application

GetCurrentApplication

Returns the application object associated with the requesting bot user.

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

Edit Current Application

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);