minor changes

This commit is contained in:
Yuzu 2022-07-13 12:43:54 -05:00
parent 94a82bf704
commit 748bec93dc
4 changed files with 22 additions and 2 deletions

View File

@ -36,7 +36,7 @@ that you should not make software that does things it is not supposed to do.
### Example bot (TS/JS)
```js
import { GatewayIntents, Session } from "biscuit";
import { GatewayIntents, Session } from "@oasisjs/biscuit";
const token = "your token goes here";
@ -76,3 +76,9 @@ session.start();
- We got the library running on EndeavourOS but it spams the ready event multiple times
- We got the library running on Arch/Artix Linux but breaks when sending fetch requests
- We got the library running on WSL (Ubuntu) without any trouble
### Known issues:
* some properties may be not implemented yet (eg: Message.stickers)
* 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

5
mod.ts
View File

@ -1,3 +1,8 @@
import Session from "./packages/biscuit/mod.ts";
export default Session;
export * from "./packages/biscuit/mod.ts";
export * from "./packages/discordeno/mod.ts";
export * from "./packages/cache/mod.ts";
export { default as enableCache } from "./packages/cache/mod.ts";

View File

@ -2,18 +2,27 @@
import { Session } from "./Session.ts";
export default Session;
export * from "./structures/Application.ts";
export * from "./structures/Attachment.ts";
export * from "./structures/AutoModerationExecution.ts";
export * from "./structures/AutoModerationRule.ts";
export * from "./structures/Base.ts";
export * from "./structures/Embed.ts";
export * from "./structures/Emoji.ts";
export * from "./structures/GuildEmoji.ts";
export * from "./structures/GuildScheduledEvent.ts";
export * from "./structures/Integration.ts";
export * from "./structures/Invite.ts";
export * from "./structures/Member.ts";
export * from "./structures/Message.ts";
export * from "./structures/MessageReaction.ts";
export * from "./structures/Permissions.ts";
export * from "./structures/Presence.ts";
export * from "./structures/Role.ts";
export * from "./structures/StageInstance.ts";
export * from "./structures/ThreadMember.ts";
export * from "./structures/User.ts";
export * from "./structures/Webhook.ts";
export * from "./structures/WelcomeChannel.ts";
export * from "./structures/WelcomeScreen.ts";

View File

@ -4,7 +4,7 @@ import type { Snowflake } from "../Snowflake.ts";
import type { DiscordStageInstance as DiscordAutoClosingStageInstance } from "../../discordeno/mod.ts";
import * as Routes from "../Routes.ts";
export interface DiscordStageInstance extends DiscordAutoClosingStageInstance {
interface DiscordStageInstance extends DiscordAutoClosingStageInstance {
privacy_level: PrivacyLevels;
discoverable_disabled: boolean;
guild_scheduled_event_id: Snowflake;