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
|
||||
|
||||
## 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" />
|
||||
|
||||
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
|
||||
|
||||
### Known issues:
|
||||
* some properties may be not implemented yet
|
||||
* some structures are not implemented (see https://github.com/oasisjs/biscuit/issues)
|
||||
* cache (wip)
|
||||
* no optimal way to create embeds, should be fixed in builders tho
|
||||
|
||||
- some properties may be not implemented yet
|
||||
- some structures are not implemented (see https://github.com/oasisjs/biscuit/issues)
|
||||
- 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",
|
||||
"description": "A brand new bleeding edge non bloated Discord library",
|
||||
"homepage": "https://github.com/oasisjs/biscuit",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0",
|
||||
"releaseType": "minor",
|
||||
"unstable": false,
|
||||
"unlisted": false,
|
||||
"files": [
|
||||
"./packages/**/*",
|
||||
"./mod.ts",
|
||||
"./deps.ts",
|
||||
"LICENSE",
|
||||
"README.md"
|
||||
],
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Deno example
|
||||
*/
|
||||
*/
|
||||
|
||||
import "https://deno.land/std@0.146.0/dotenv/load.ts";
|
||||
// TODO: remove and include the library appropriately
|
||||
|
@ -14,7 +14,7 @@ import type {
|
||||
import { TargetTypes } from "../../discordeno/mod.ts";
|
||||
import { GuildChannel } from "./channels.ts";
|
||||
import { Member } from "./Member.ts";
|
||||
import { InviteGuild, Guild } from "./guilds.ts";
|
||||
import { Guild, InviteGuild } from "./guilds.ts";
|
||||
import User from "./User.ts";
|
||||
import Application from "./Application.ts";
|
||||
|
||||
|
@ -137,9 +137,9 @@ export class Message implements Model {
|
||||
return {
|
||||
id: si.id,
|
||||
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
|
||||
* @link https://discord.com/developers/docs/resources/channel#thread-member-object
|
||||
* * */
|
||||
* **/
|
||||
export class ThreadMember implements Model {
|
||||
constructor(session: Session, data: DiscordThreadMember) {
|
||||
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>;
|
||||
export type Camelize<T> = {
|
||||
[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]>
|
||||
: never;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user