diff --git a/README.md b/README.md index 750ffb8..1308f80 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,7 @@ And input your bot's token and Intents. Here is a small example of how to use harmony, ```ts -import { - Client, - Message, - Intents -} from 'https://deno.land/x/harmony/mod.ts' +import { Client, Message, Intents } from 'https://deno.land/x/harmony/mod.ts' const client = new Client() @@ -108,6 +104,7 @@ client.connect('super secret token comes here', Intents.All) ## Docs Documentation is available for `main` (branch) and `stable` (release). + - [Main](https://doc.deno.land/https/raw.githubusercontent.com/harmony-org/harmony/main/mod.ts) - [Stable](https://doc.deno.land/https/deno.land/x/harmony/mod.ts) diff --git a/src/structures/cdn.ts b/src/structures/cdn.ts index c7b3bc3..83ff27c 100644 --- a/src/structures/cdn.ts +++ b/src/structures/cdn.ts @@ -10,4 +10,4 @@ export const ImageURL = ( if (url.includes('a_')) { return `${url}.${format === undefined ? 'gif' : format}?size=${size}` } else return `${url}.${format === 'gif' ? 'png' : format}?size=${size}` -} \ No newline at end of file +} diff --git a/src/structures/user.ts b/src/structures/user.ts index 6823704..a44b6e5 100644 --- a/src/structures/user.ts +++ b/src/structures/user.ts @@ -47,7 +47,7 @@ export class User extends Base { } get defaultAvatarURL(): string { - return `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png` + return `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png` } constructor(client: Client, data: UserPayload) {