Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

TheKrafter/f-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f-bot

This project has moved to Codeberg.

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

[moved to Codeberg] says f-you to someone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages