GithubHelp home page GithubHelp logo

kratos's Introduction

This project is no longer being maintained.

Kratos

Kratos is a bot built for ultimate customizability and control. Join the development and support Discord guild here.

Kratos is currently in beta (if you even want to go that far). Everything is subject to change.

Platform

Kratos is developed for .Net Core 1.1. Therefore, it is compatible with Windows, Linux, and OSX operating systems.

Contributing

Contributions are always welcome. However, all contributions should be in the scope of a moderation bot. Fun or obscure feature contributions are discouraged.

kratos's People

Contributors

celeryonion avatar markusg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kratos's Issues

Improve permissions system

Improve permissions system to support wildcard permissions (mod.*, *.*, etc.)

Also make permissions into enums for easier management,

Fix file paths

Use Path.Combine() instead of hardcoding path strings and that ugly static field in Program.

Check if Token is Valid

The setup should check if the API token is valid.
I don't know C#, but Python's regex for it is
r'M\w{23}\.[\w-]{6}\..{27}'
Which means it:

  • Starts with 'M'
    -then 23 Alphanumeric characters
    -then a period
    -then 6 alphanumeric characters and/or a hyphen
    -then a period
    -then any 27 characters

Config files get extra characters written to them

Often times config files will look like {"key":value}}}}} or even {"key":value} : []
Real-world example:

{"Token":"donotstealpls","Prefix":".","MentionPrefix":true,"MasterId":72080813948153856,"MuteRoleId":246772375239000074,"BypassIds":[246772396361515009]}assIds": []
}

Improve multi-server capabilities

This bot is not designed to work like Rhino and never will be (regarding hosting). However, the ability to be run on multiple servers isn't a bad idea.

Requirements needed from the bot

  • User notes
  • Muting capabilities with time constraints. E.g. Muting and unmuting after 10
  • Giving muting capabilities to Trusted role
  • Banning capabilities with time constraints. E.g. Ban for 1 day etc
  • Blacklist
  • Whitelist of roles
  • Ignore certain channels to apply rate limiting
  • "Mod list" of roles
  • Rate limiting
  • Anti spam
  • Purge
  • Slowmode
  • Logging Moderator commands
  • Logging Server related changes. E.g. Nickname/Profile Name/Role changes. Deleted/Edited messages
  • Logging Bans
  • Restart Commands
  • Change profile name/avatar commands
  • Master ID, whatever this ID is, it can execute any command despite role permissions. Basically an override
  • Commands that return simple paragraphs to explain things such as "what is Trusted"
  • "Serverinfo" command
  • Bot related stats and info command
  • Messaging system between bot and users. Whenever someone new joins they get a message welcoming them with general stuff like reading the rules. Whenever someone is banned it PMs them the reason and directs them to further details and help

The following are things that are not necessarily needed but Sunny wants them.

  • When invited to a server, bot should be registered through DMs like RhinoBot is done. Registration only works if the person with the MasterID is doing the registering
  • If the above works, then Blacklist of server IDs. This would prevent registration to go further if the server ID is blacklisted
  • Global bans, Bans a specified user on all servers the bot is present on

That's all I can think of at the moment.

Aliases on .tag commands

Add / +
Remove / -
Info / ?

Also make .tag with no parameters return a list of tags rather than having a separate command for it.

Question

Hi @markusgordathian

I really like your bot, would it be okay with you if I use some of your code and rename your bot and my pieces of code this bot will only be used for my guilds the games I play not for sale or not in it for the money.

If you okay with it will you need me to provide credits for you?

Logging

Log actions that take place on the server:

  • Message edit
  • Message delete
  • User join
  • User leave
  • User name change
  • User nickname change
    Log bot-specific actions:
  • Command invokes
  • User banned
  • User muted

Log most via a log channel or two. Log long-term data such as ban records via the SQLite database.

Moderation commands

  • Banning
  • Kicking
  • Muting
  • Message clearing (already done, reorganize the command)
  • Softbans (maybe)
  • Slowmode (maybe)
  • Ratelimit (maybe)

Configs save incorrectly

Configs save as "\config\configname.json" in the root directory instead of "configname.json" in the config directory.

Word filter improvements

Have two modes for the word filter: basic and custom. basic allows for basic filtering (case insensitivity and whitespace removal). custom allows for custom Regex patterns to be added for more precise control.

Add a snazzy logo.

Probably something Greek-mythology themed, seeing as the bot's name is Kratos. Suggestions welcome.

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.