Run formatter
This commit is contained in:
		
							parent
							
								
									c3d025529d
								
							
						
					
					
						commit
						a66a18cdc0
					
				
					 3 changed files with 4 additions and 7 deletions
				
			
		|  | @ -44,11 +44,7 @@ And input your bot's token and Intents. | ||||||
| Here is a small example of how to use harmony, | Here is a small example of how to use harmony, | ||||||
| 
 | 
 | ||||||
| ```ts | ```ts | ||||||
| import { | import { Client, Message, Intents } from 'https://deno.land/x/harmony/mod.ts' | ||||||
|   Client, |  | ||||||
|   Message, |  | ||||||
|   Intents |  | ||||||
| } from 'https://deno.land/x/harmony/mod.ts' |  | ||||||
| 
 | 
 | ||||||
| const client = new Client() | const client = new Client() | ||||||
| 
 | 
 | ||||||
|  | @ -108,6 +104,7 @@ client.connect('super secret token comes here', Intents.All) | ||||||
| ## Docs | ## Docs | ||||||
| 
 | 
 | ||||||
| Documentation is available for `main` (branch) and `stable` (release). | Documentation is available for `main` (branch) and `stable` (release). | ||||||
|  | 
 | ||||||
| - [Main](https://doc.deno.land/https/raw.githubusercontent.com/harmony-org/harmony/main/mod.ts) | - [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) | - [Stable](https://doc.deno.land/https/deno.land/x/harmony/mod.ts) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -10,4 +10,4 @@ export const ImageURL = ( | ||||||
|   if (url.includes('a_')) { |   if (url.includes('a_')) { | ||||||
|     return `${url}.${format === undefined ? 'gif' : format}?size=${size}` |     return `${url}.${format === undefined ? 'gif' : format}?size=${size}` | ||||||
|   } else return `${url}.${format === 'gif' ? 'png' : format}?size=${size}` |   } else return `${url}.${format === 'gif' ? 'png' : format}?size=${size}` | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ export class User extends Base { | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   get defaultAvatarURL(): string { |   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) { |   constructor(client: Client, data: UserPayload) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue