28 lines
		
	
	
		
			577 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			577 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| bash-irc-bot
 | |
| ============
 | |
| 
 | |
| A simple, modular IRC bot written in bash
 | |
| 
 | |
| ## Setup
 | |
| 
 | |
| 1. Run the bot once to generate your config file:
 | |
|    ```bash
 | |
|    ./bot.sh
 | |
|    ```
 | |
| 
 | |
| 2. Edit `bot.cfg` with your IRC server, channels, and bot settings
 | |
|    - Configure multiple channels using an array: `channels=("channel1" "channel2")`
 | |
|    - Channel names should NOT include the # prefix
 | |
| 
 | |
| 3. Run the bot again:
 | |
|    ```bash
 | |
|    ./bot.sh
 | |
|    ```
 | |
| 
 | |
| ## Modules
 | |
| 
 | |
| Throw "modules" into /modules/module-name/module-name.sh
 | |
| and they will be loaded up during runtime.
 | |
| 
 | |
| Call modules with botname: test arg1 arg2 ....
 |