Update README.md
This commit is contained in:
		
							parent
							
								
									7a67fb67d9
								
							
						
					
					
						commit
						6c8d1bc44c
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -101,10 +101,10 @@ client.commands.add(PingCommand) | ||||||
| client.connect('super secret token comes here', Intents.All) | client.connect('super secret token comes here', Intents.All) | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Or with Decorator! | Or with Decorators! | ||||||
| ```ts | ```ts | ||||||
| import { | import { | ||||||
|   CommandClient, |   Client, | ||||||
|   event, |   event, | ||||||
|   Intents, |   Intents, | ||||||
|   command, |   command, | ||||||
|  | @ -132,10 +132,9 @@ class MyClient extends CommandClient { | ||||||
| 
 | 
 | ||||||
| // Connect to gateway | // Connect to gateway | ||||||
| // Replace with your bot's token and intents (Intents.All, Intents.None, Intents.Presence, Intents.GuildMembers) | // Replace with your bot's token and intents (Intents.All, Intents.None, Intents.Presence, Intents.GuildMembers) | ||||||
| client.connect('super secret token comes here', Intents.All) | new MyClient().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). | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue