mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: fmt
This commit is contained in:
parent
723548e5f2
commit
dec7f63b43
10
README.md
10
README.md
@ -1,6 +1,7 @@
|
|||||||
# biscuit
|
# biscuit
|
||||||
|
|
||||||
## A brand new bleeding edge non bloated Discord library
|
## A brand new bleeding edge non bloated Discord library
|
||||||
|
|
||||||
<img align="middle" src="https://raw.githubusercontent.com/oasisjs/biscuit/main/assets/biscuit.svg" alt="biscuit" />
|
<img align="middle" src="https://raw.githubusercontent.com/oasisjs/biscuit/main/assets/biscuit.svg" alt="biscuit" />
|
||||||
|
|
||||||
ETA: **biscuit will be on the npm registry the next week!**
|
ETA: **biscuit will be on the npm registry the next week!**
|
||||||
@ -79,7 +80,8 @@ session.start();
|
|||||||
- We got the library running on WSL (Ubuntu) without any trouble
|
- We got the library running on WSL (Ubuntu) without any trouble
|
||||||
|
|
||||||
### Known issues:
|
### Known issues:
|
||||||
* some properties may be not implemented yet
|
|
||||||
* some structures are not implemented (see https://github.com/oasisjs/biscuit/issues)
|
- some properties may be not implemented yet
|
||||||
* cache (wip)
|
- some structures are not implemented (see https://github.com/oasisjs/biscuit/issues)
|
||||||
* no optimal way to create embeds, should be fixed in builders tho
|
- cache (wip)
|
||||||
|
- no optimal way to create embeds, should be fixed in builders tho
|
||||||
|
3
egg.json
3
egg.json
@ -4,14 +4,13 @@
|
|||||||
"entry": "./mod.ts",
|
"entry": "./mod.ts",
|
||||||
"description": "A brand new bleeding edge non bloated Discord library",
|
"description": "A brand new bleeding edge non bloated Discord library",
|
||||||
"homepage": "https://github.com/oasisjs/biscuit",
|
"homepage": "https://github.com/oasisjs/biscuit",
|
||||||
"version": "0.0.1",
|
"version": "0.1.0",
|
||||||
"releaseType": "minor",
|
"releaseType": "minor",
|
||||||
"unstable": false,
|
"unstable": false,
|
||||||
"unlisted": false,
|
"unlisted": false,
|
||||||
"files": [
|
"files": [
|
||||||
"./packages/**/*",
|
"./packages/**/*",
|
||||||
"./mod.ts",
|
"./mod.ts",
|
||||||
"./deps.ts",
|
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Deno example
|
* Deno example
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "https://deno.land/std@0.146.0/dotenv/load.ts";
|
import "https://deno.land/std@0.146.0/dotenv/load.ts";
|
||||||
// TODO: remove and include the library appropriately
|
// TODO: remove and include the library appropriately
|
||||||
|
@ -14,7 +14,7 @@ import type {
|
|||||||
import { TargetTypes } from "../../discordeno/mod.ts";
|
import { TargetTypes } from "../../discordeno/mod.ts";
|
||||||
import { GuildChannel } from "./channels.ts";
|
import { GuildChannel } from "./channels.ts";
|
||||||
import { Member } from "./Member.ts";
|
import { Member } from "./Member.ts";
|
||||||
import { InviteGuild, Guild } from "./guilds.ts";
|
import { Guild, InviteGuild } from "./guilds.ts";
|
||||||
import User from "./User.ts";
|
import User from "./User.ts";
|
||||||
import Application from "./Application.ts";
|
import Application from "./Application.ts";
|
||||||
|
|
||||||
|
@ -137,9 +137,9 @@ export class Message implements Model {
|
|||||||
return {
|
return {
|
||||||
id: si.id,
|
id: si.id,
|
||||||
name: si.name,
|
name: si.name,
|
||||||
formatType: si.format_type
|
formatType: si.format_type,
|
||||||
}
|
};
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import * as Routes from "../Routes.ts";
|
|||||||
/**
|
/**
|
||||||
* A member that comes from a thread
|
* A member that comes from a thread
|
||||||
* @link https://discord.com/developers/docs/resources/channel#thread-member-object
|
* @link https://discord.com/developers/docs/resources/channel#thread-member-object
|
||||||
* * */
|
* **/
|
||||||
export class ThreadMember implements Model {
|
export class ThreadMember implements Model {
|
||||||
constructor(session: Session, data: DiscordThreadMember) {
|
constructor(session: Session, data: DiscordThreadMember) {
|
||||||
this.session = session;
|
this.session = session;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1237,7 +1237,7 @@ export type CamelCase<S extends string> = S extends `${infer P1}_${infer P2}${in
|
|||||||
: Lowercase<S>;
|
: Lowercase<S>;
|
||||||
export type Camelize<T> = {
|
export type Camelize<T> = {
|
||||||
[K in keyof T as CamelCase<string & K>]: T[K] extends Array<infer U> ? U extends {} ? Array<Camelize<U>>
|
[K in keyof T as CamelCase<string & K>]: T[K] extends Array<infer U> ? U extends {} ? Array<Camelize<U>>
|
||||||
: T[K]
|
: T[K]
|
||||||
: T[K] extends {} ? Camelize<T[K]>
|
: T[K] extends {} ? Camelize<T[K]>
|
||||||
: never;
|
: never;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user