TheKrafter / f-bot

says f-you to someone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

f-bot

anonymously swear at people, with optional logging for moderation purposes.

licensed under BSD 3 clause.

pull requests open, i follow the unix philosopy

discord

Usage

Install/run

Basic steps for unix-likes:

git clone https://github.com/TheKrafter/f-bot
cd f-bot/
cp example.config.yml config.yml
nano config.yml # put ur bot token where it says
pip install -U nextcord logging42 pyyaml
python3 bot.py

SystemD Service

Set up a (safe) way to autostart on systemd systems

sudo loginctl enable-linger $USER
nano /home/$USER/.config/systemd/user/f-bot.service

Paste in to the file you just editied:

[Unit]
Description=f-bot discord bot

[Service]
ExecStart=/usr/bin/env python3 /home/tiramisu/f-bot/bot.py
WorkingDirectory=/home/tiramisu/f-bot/

[Install]
WantedBy=default.target

Ctrl+o, Enter, Ctrl+x to exit nano

systemctl --user daemon-reload
systemctl --user enable f-bot.service

About

says f-you to someone

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%