Giter Club home page Giter Club logo

gupshup's People

Contributors

kraanzu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gupshup's Issues

Addition of permission templates for easier server admin

I've come from your advertisement on Reddit and think this project is very cool. However, I think the "power" concept is a bit confusing. As I understand it now, there is the king rank which has an infinite power level, thus allowing them to do any command. Any other rank can be assigned a numerical power level and this level changes what commands that rank can access.

The problem I've found is that the moderation commands such as /ban, /mute, etc. don't have a pre-defined power level - only the king rank can use them until the command is made accessible to a power level. This just seems unnecessary and overly complex to map each individual command to a power level.

Personally, I think it would be better if there were predefined power levels such as 1 for a moderator. Moderator commands should then be mapped to power levels of 1 or above. This provides a good foundation for permissions and the owner is able to take this and fine-tune it to their preferences. For example, if they wanted an admin rank with power level 2, they could make moderators only be able to mute and admins be able to ban.

I've not had an in-depth look at this project, however, so if I've missed something, please let me know :)

EDIT:
TL;DR IMO, there should be predefined power levels such as 1 for moderator and 2 for admin just to make setting up permissions easier since most owners are going to want roughly the same permission setup.

Unavailable Unicode icon

On an empty directory on Windows I did

git clone https://github.com/kraanzu/gupshup.git
cd gupshup
pip install .

Then I tried gupshup --server and opened a new command-line window in the same folder, gupshup -u foo. Besides multiple asyncio.exceptions.CancelledError messages which I did not analyze further, the following Unicode encoding error message appeared:

UnicodeEncodeError: 'charmap' codec can't encode character '\uf6d6' in position
18: character maps to

Disconnected when trying to change rank icon

When I'm trying to change the icon of the role using the command, the server raises the error 'king', and i'm disconnected. The interface is still open, but I can't send any messages.
image
image

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.