Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

[Tags] Add ability to specify AND/OR with the require/blacklist block. #56

Open
AceFZ-19 opened this issue Apr 30, 2021 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@AceFZ-19
Copy link

I tried to use require block, but unable to check two parameters (&& check) with it.
I want role "r1" to be able to use tag "t1" only in channel "c1".
I tried {require(r1, c1):Error Message} {command: c1} This tag is working if any of r1 or c1 is satisfied. I want it to work only if both are satisfied
Is there any other way?
If this section is not meant for these type of questions. Sorry

@phenom4n4n
Copy link
Owner

Currently this is not possible, however, it does seem like a useful feature so I will be converting this issue into a feature request. In the future, if you have questions head over to my channel named #support_phen-cogs in the Cog Support Server.

@phenom4n4n phenom4n4n changed the title [Question] Is there a way to create a tag which is restricted to specific user and specifc channel? [Tags] Add adbility to specify AND/OR with the require/blacklist block. May 2, 2021
@phenom4n4n phenom4n4n changed the title [Tags] Add adbility to specify AND/OR with the require/blacklist block. [Tags] Add ability to specify AND/OR with the require/blacklist block. May 2, 2021
@phenom4n4n phenom4n4n added the enhancement New feature or request label May 2, 2021
@AceFZ-19
Copy link
Author

AceFZ-19 commented May 2, 2021

Alright!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants