- Python installed on your computer (Under Python3)
- Brain
- python Bot.py
- First step move to the /Plugins directory.
- Create a new file whose extension will be .py
- Open it and define a description:
desc = "The description of the plugin."
- Once you're done with the description create the execution function:
def execute():
return "Hello World."
#This will make the bot send 'Hello World.' on the chat you've typed the command.
- You can also pass up to 4 parameters to the function:
def execute(one,two,three,four):
return one+two+three+four
#This will make the bot send 'the sum of the 4 parameters in the chat you've typed the command
- For further examples look at the help.py plugin and exampleplugin.py here
- Neon/Loled
- Holeboards
- Telegram
- Skype: pybot.py