Added to README
							parent
							
								
									9749c3ab2d
								
							
						
					
					
						commit
						62dd87dcaa
					
				
							
								
								
									
										14
									
								
								README.md
								
								
								
								
							
							
						
						
									
										14
									
								
								README.md
								
								
								
								
							|  | @ -75,3 +75,17 @@ These three decorators are the bread and butter of Frank. Let's break them down: | |||
| - `frank.default` defines the command that should be run if the module is called without explicitely giving a command. | ||||
|   For example, if you call `fr examp` without specifying a command, it will run the default command. This is useful for | ||||
|   making a command that's used very often easier to execute. | ||||
| 
 | ||||
| In the end, all you need to do is the following in your main script: | ||||
| 
 | ||||
| ```python | ||||
| from frank import Frank | ||||
| # Or whatever your package containing your modules is called | ||||
| from modules import ExampleMod | ||||
| 
 | ||||
| if __name__ == '__main__': | ||||
|     client = Frank([ExampleMod]) | ||||
|     client.run(YOUR_DISCORD_TOKEN) | ||||
| ``` | ||||
| 
 | ||||
| You can obtain this token from the Discord developer page. | ||||
|  |  | |||
		Reference in New Issue