Run formatter

This commit is contained in:
Helloyunho 2020-12-05 16:20:08 +09:00
parent c3d025529d
commit a66a18cdc0
3 changed files with 4 additions and 7 deletions

View file

@ -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)

View file

@ -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}`
}
}

View file

@ -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) {