Giter VIP home page Giter VIP logo

jogy / shinpuru Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zekrotja/shinpuru

0.0 0.0 0.0 49.88 MB

シンプル - Discord Bot with backups, moderation, karma ranking, a starboard, code execution, a web interface, twitch notifications and more!

Home Page: https://shnp.de

License: MIT License

Go 72.72% Shell 0.34% Makefile 0.32% Dockerfile 0.09% JavaScript 0.18% TypeScript 13.43% HTML 8.20% PLpgSQL 0.08% Python 0.69% Sass 3.95%

shinpuru's Introduction


~ シンプル ~

A simple multi purpose discord bot written in Go (discord.go)
with focus on stability and reliability


    Docker Cloud Automated build 

Branch Main CI Docker CD Releases CD
stable
canary

Invite

Here you can choose between the stable or canary version of shinpuru:

Intro

シンプル (shinpuru), a simple (as the name says), multi-purpose Discord Bot written in Go, using bwmarrin's package discord.go as API and gateway wrapper and shireikan as command parser. The focus on this bot is to provide general purpose, administration and security tools while keeping stability, reliability and maintainability.

This bot is mainly used as administration and security tool on my development discord. Drop by to see shinpuru in action! 😉


Features

In this wiki article, you can find an automatically generated list of all commands and their manuals.

Following, you will find a selected set of core features of shinpuru.

Web Interface

shinpuru offers a web interface to view members profiles, reports, the guild mod log and also configure the guilds settings for shinpuru like mod log channel, voice log channel or join/leave messages and channels.

Demo

Permission System

shinpuru has a fine grained and highly configurable permission system which uses "permission domains". You can specify permissions for whole groups of commands or for single commands for each role on your guild either by command or using the web interface.
Please read this document about how the permission system exactly works and how to set it up correctly.

Moderation

shinpuru brings general guild moderation features like clearing messages in text channels (also user-specific, if required), reporting, muting, kicking and banning members. Those actions initiated with shinpurus moderation commands will be logged in a defined moderation text channel and in the database. So, all actions can be reviewed.

Also, there is a notify system, which creates a @notify role, which is as standard, not mentionable. Users can get or remove themselves this role by using the notify command. So, you can use this role as a replacement for @everyone, so it is like an "opt-in notification system".

You can combine that function with the ment command, which allows enabling or disabling mentionability of roles by command. If you enable the mentionability of @notify, for example, and after that, you mention this role in a message, the mentionability of this role will automatically be disabled.

Another feature is the autorole system: You can specify a role, which will be added to every user joined the guild.

Antiraid

Having trouble with Raids? shinpuru can help you with this by monitoring the rate of joining users and proceeding with security measures like increasing the servers security level.

You can also see the logs of the Antiraid to see if you got raided by Users. These logs can be downloaded or deleted in the web interface.

Chat

Of course, there are some chats supporting commands like the say command, where you can create embedded messages with the bot with custom colors, titles, footers, images, and so on. Also, it is possible to create embeds from raw json data (like documented in Discords API docs). For example, here you can find the format of our development Discord guilds welcome message.

Another useful feature is the quote command, where you can quote messages from all text channels on a guild in any channel with jump to link. This can be generated by the ID or the URL of a message.

Time for some democracy? So, you can create reaction-interactive votes with the vote command.

Annoyed from ghost pings (messages with mentions, which were deleted, so you only see a mention but no message)? shinpuru has a system for detecting those ghost pings and punish people doing so by exposing the message which was deleted actually. You can also specify a format of how the warn message should look like, if you do not want to expose the message content or ping the victim again, for example.

Guild Backups

You want to be prepared for each emergency? Just enable the auto-backup system of shinpuru with the backup command. Then, a full backup of all of the guild roles, channels, members and guild settings will be saved every 12 hours. The last 10 backups are saved, so you have access to backups for the last 5 days. Of course, you can also automatically restore saved backups by using the backup restore command.

Twitch Notifications

With the Twitch Notification System, you can stay up to date which channels are currently live on Twitch! Just enter the command !twitch <twitchUserName> in a channel to set up the system. Then, every time, the streamer goes live, a message will be posted to this channel, which will be automatically removed when the channel goes offline on Twitch.
Because of API limitations, the delay until the bot notifies a status change can be up to one minute.

Code Execution

shinpuru is able to "compile" embedded code in messages on the fly, just by clicking a reaction under the message containing the code. The code will be sent to jdoodle's API, will be executed and the output will be displayed in the discord channel!

For setting up this system, use the exec setup command. Then, the bot will request your jdoodle's API credentials in DM (because we don't want you to send your credentials into a public guilds text chat). Then, the system will be set up and enabled on your guild. Your credentials will only be used for your guild, so every guild is responsible for their credentials. That also means, if you have an advanced jdoodle plan, you can use this accounts credentials, of course, for your guild.

Invite Link Blocking

By using the inv command, you can set up a guild-wide blocking for Discord Guild Invite Links. You can pass a minimum permission level users need to have to be allowed to send Invite Links. If users with a permission level below that, the messages including Invite Links will be deleted.

The system detects obvious invite links like discord.gg/<InvID> or discordapp.com/invite/<InvID>. Also, links which redirect to a Discord Invite link using the location header or some sort of HTML redirection methods, like link shorteners do, for example, will be blocked.

Voice Logging

Missing Teamspeak's voice activity log? Just specify a voice log channel with the voicelog command and every voice channel move will be logged in this channel.


Docker

Read about how to host shinpuru using the provided Docker image in the wiki article.


Compiling

Read about self-compiling in the wiki article.


Public Packages


Third party dependencies

Back End

Web Front End

Assets


Copyright © 2018-2021 zekro Development (Ringo Hoffmann).
Covered by MIT License.

shinpuru's People

Contributors

zekrotja avatar github-actions[bot] avatar snowjuli avatar vbe0201 avatar ron31 avatar error2507 avatar not-nik avatar skillkiller avatar luxtracon 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.