A demo for creating a Discord bot for ChatOps
Guide for generating and inviting bot to your discord server
https://discordpy.readthedocs.io/en/latest/discord.html#inviting-your-bot
#pip install -r requirements.txt
-
Run the script
- our bot will become online
-
type "$hello" to see functions 3.type "$get_interface_status _ip" to get interface status
-
type "$get_interface _ip interface_name" to get interface ip
https://discordpy.readthedocs.io/en/latest/