GithubHelp home page GithubHelp logo

goddere2d / reindeer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.39 MB

๐ŸฆŒ A Discord bot by BSR that helps server admins manage user reports more efficiently and organised.

Home Page: https://reindeer.bsr.gg/

License: Apache License 2.0

JavaScript 0.75% TypeScript 99.25%
discord discord-bot discordjs hacktoberfest javascript nodejs report sapphire-framework ticket typescript

reindeer's Introduction

Reindeer ๐ŸฆŒ

A Discord bot by BSR that helps server admins manage user reports more efficiently and organised.

Top.gg Servers (for hosted bot) Top.gg Upvotes (for hosted bot) Support Server CI Tests Status GitHub Sponsors


To see a full list of features, documentation, and to invite the bot visit https://reindeer.bsr.gg/.

Features

  • User and message report commands are both available as context menu commands and slash commands.
  • Easy to setup with a guided setup command.
  • Powerful configuration, customise up to 5 user-input fields when reporting.
  • View reports in a neatly organised forum channel.
  • Easily manage and sort reports.
  • Customize and add more fields for reports.
  • Track messages and users that have been reported, such as edits, deletions, joins, and leaves.
  • Inform reporters about their reports status.
  • Disallow more than one report on a message/user in a specified period.

Installing

Note

If you just want to use the publicly hosted version of the bot, you can invite it from the website.

To locally install the bot yourself (e.g. if you want to contribute or self-host), follow these steps:

Prerequisites

  • Node.js 16.11.0 or later
  • Yarn classic (1.22.19)
  • A Discord application and bot
  • A PostgreSQL database (to run one locally, see here)

Setup

Once you've cloned the repository from GitHub, install the required Node dependencies.

yarn

Copy the .env.example file to a new .env file and fill out the environment variables listed inside.

cp .env.example .env

Push the Prisma schema to your Postgres database.

yarn push

# If you don't have a database yet, you can still generate typings
yarn generate

Compile the bot with tsc. Leave this terminal tab open while developing the bot. In production, you can use yarn build instead.

# Development (watch mode)
yarn build:dev

# Production
yarn build

Finally, you can run the bot using nodemon in development or pm2 in production.

# Development
yarn dev

# Production
pm2 start dist/index.js

# Or, just using node
yarn start

Contributing & Support

If you need support with the bot, feel free to join our Discord server.

If you'd like to contribute to the bot, please review our code of conduct first. If you have a bug report, feature request, please open an issue. If you're interested in fixing a bug or adding a new feature, please open a pull request.

If you'd like to report a security vulnerability or otherwise want to contact me, please email me at [email protected] or [email protected].

PR Guidelines

  • Please follow the conventional commits specification where possible (you may also use docs, chore or other headers).
  • Please use yarn test to ensure TypeScript, ESLint, and Prettier checks pass.
  • Please do not include out-of-scope changes in a PR, instead open a separate PR for those changes.
  • Please do not use translators to edit language files.

License

Reindeer is licensed under the Apache License 2.0.

reindeer's People

Contributors

goddere2d avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.