{"repo":"BrackeysCommunity/Hammer","free":true,"listed":false,"github":"https://github.com/BrackeysCommunity/Hammer","clone":"git clone https://github.com/BrackeysCommunity/Hammer.git","description":"GitHub mirror for https://git.brackeys.dev/bot/hammer","language":"C#","stars":17,"topics":["csharp","discord-bot","brackeys","moderation-discord-bot","discord","dotnet","moderation-bot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Hammer A Discord bot for managing infractions against misbehaving users. About Hammer is a Discord bot which provides features to issue infractions to misbehaving users. Installing and configuring Hammer Hammer runs in a Docker container, and there is a docker-compose.yaml file which simplifies this process. Clone the repository To start off, clone the repository into your desired directory: Step into the Hammer directory using cd Hammer , and continue with the steps below. Setting things up The bot's token is passed to the container using the DISCORD TOKEN environment variable. Create a file named .env , and add the following line: Two directories are required to exist for Docker compose to mount as container volumes, data and logs : Copy the example config.example.json to data/config.json , and assign the necessary config keys. Below is breakdown of the config.json layout: The logs directory is used to store logs in a format similar to that of a Minecraft server. latest.log will contain the log for the current day and current execution. All past logs are archived. The data directory is used to store persistent state of the bot, such as config values and the infraction database. Launch Hammer To launch Hammer, simply run the following commands: Updating Hammer To update Hammer, simply pull the latest changes from the repo and restart the container: Using Hammer For further usage breakdown and explanation of commands, see USAGE.md. License This bot is under the MIT License. D","default_branch":null,"files":null,"tree":[],"storefront":"/r/BrackeysCommunity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BrackeysCommunity/Hammer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}