mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 05:56:09 +00:00

* feat: add support for new Discord application emojis features * feat: add support for new Discord application emojis features * feat: applications emojis routes * chore: switch typings provider * fix: unnecesary type * feat: magic bytes * chore: move api-types * chore: ? * fix: omg npm * chore: apply formatting * fix: for fast merge --------- Co-authored-by: Tony Supremacy <165050835+VanStk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
14 lines
468 B
TypeScript
14 lines
468 B
TypeScript
import type { UsingClient } from '../commands';
|
|
import type { APIGuildPreview, APIPartialGuild } from '../types';
|
|
import { AnonymousGuild } from './AnonymousGuild';
|
|
|
|
/**
|
|
* Represent Discord Guild Preview Object
|
|
* @link https://discord.com/developers/docs/resources/guild#guild-preview-object
|
|
*/
|
|
export class GuildPreview extends AnonymousGuild {
|
|
constructor(client: UsingClient, data: APIGuildPreview) {
|
|
super(client, data as APIPartialGuild);
|
|
}
|
|
}
|