Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict rooms in which a command can be used #27

Open
verdog opened this issue Oct 5, 2018 · 5 comments
Open

Restrict rooms in which a command can be used #27

verdog opened this issue Oct 5, 2018 · 5 comments

Comments

@verdog
Copy link
Contributor

verdog commented Oct 5, 2018

I think it would be a useful feature to be able to restrict the usage of commands to certain rooms.

For example, perhaps silly things should not be allowed in geeks or officers.

@Steffey
Copy link
Contributor

Steffey commented Oct 5, 2018

here's some more ideas:

command attributes: serious, relaxed (I'm open to calling these whatever)
room attributes: serious, relaxed
$room -> lists attributes for the current room
$room <roomname> -> lists attributes for the selected room
$room set <attribute> -> usable only by admins of a room. sets an attribute for a room
$room delete <attribute> -> admin only removes an attribute for a room

creators of commands for the bot would have to define their command as fitting into one of the available attributes.

@verdog
Copy link
Contributor Author

verdog commented Oct 5, 2018

Room "tags" instead of room "attributes"?

@Steffey
Copy link
Contributor

Steffey commented Oct 5, 2018

absolutely not

@verdog
Copy link
Contributor Author

verdog commented Oct 5, 2018

why :(

@Steffey
Copy link
Contributor

Steffey commented Oct 5, 2018

I concede. we will call them attri-tags henceforth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants