UNPKG

seyfert

Version:

The most advanced framework for discord bots

11 lines (10 loc) 660 B
import { type DMChannelStructure, type MessageStructure, type UserStructure } from '../../client/transformers'; import type { MessageCreateBodyRequest } from '../types/write'; import { BaseShorter } from './base'; export declare class UsersShorter extends BaseShorter { createDM(userId: string, force?: boolean): Promise<DMChannelStructure>; deleteDM(userId: string, reason?: string): Promise<DMChannelStructure>; fetch(userId: string, force?: boolean): Promise<UserStructure>; raw(userId: string, force?: boolean): Promise<import("../../types").APIUser>; write(userId: string, body: MessageCreateBodyRequest): Promise<MessageStructure>; }