mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 18:09:09 +00:00
chore: move types to @roleypoly/types package
This commit is contained in:
parent
38ee680a33
commit
a374030438
46 changed files with 244 additions and 59 deletions
18
packages/types/User.ts
Normal file
18
packages/types/User.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
export type DiscordUser = {
|
||||
id: string;
|
||||
username: string;
|
||||
discriminator: string;
|
||||
avatar: string;
|
||||
bot: boolean;
|
||||
};
|
||||
|
||||
export type Member = {
|
||||
guildid?: string;
|
||||
roles: string[];
|
||||
nick?: string;
|
||||
user?: DiscordUser;
|
||||
};
|
||||
|
||||
export type RoleypolyUser = {
|
||||
discorduser: DiscordUser;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue