deacon-ralph / irc_bot

INTERNET RELAY CHAT BOT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IRC BOT

Getting Started

  1. Copy example_conf.toml to config.toml and update settings appropriately
cp example_conf.toml config.toml
  1. Copy example_admins.toml to admins.toml and update the admin list
cp example_admins.toml admins.toml
  1. Create the following files
echo -en "Hello world.\nThis is the file used for markov." >> chatter.log 
  1. Generate cacert + key
cd certs
openssl req -x509 -newkey rsa:2048 -keyout selfsigned.key -nodes -out selfsigned.cert -sha256 -days 1000

Building + Running container

# Build container
docker build -t <tag> .

# Run container
FOLDER_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
docker run --rm \
-p 12345-12444:12345-12444 \
-v $FOLDER_PATH/ascii_art:/irc_bot/ascii_art \
-v $FOLDER_PATH/chatter.log:/irc_bot/chatter.log \
-v $FOLDER_PATH/trolldb.b64:/irc_bot/trolldb.b64 \
-v $FOLDER_PATH/admins.toml:/irc_bot/admins.toml \
-v $FOLDER_PATH/config.toml:/irc_bot/config.toml \
-v $FOLDER_PATH/bot_modules:/irc_bot/bot_modules \
-t <tag>>

GLHF, CHAT HARD

alt GNAA Public Health Message

License

name

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.

About

INTERNET RELAY CHAT BOT

License:Do What The F*ck You Want To Public License


Languages

Language:Python 99.2%Language:Shell 0.5%Language:Dockerfile 0.2%