Closed zerinho6 closed 5 years ago
System is done, here's the status:
Options Name | specificAuthor | specificGuild | specificChannel | specificRole | |
---|---|---|---|---|---|
Value must be | String"ID" or Array[String"ID"] | String"ID" or Array[String"ID"] | String"ID" or Array[String"ID"] | String"ID" or String"RoleName" | |
Default value | false | false | false | false | false |
Here's the returned Strings(en_us):
"specificNeeds": {
"specificAuthor": {
"pluralReturn": "Only users with those IDs can use that command:",
"defaultReturn": "Only a user with the follow id can use that command:"
},
"specificGuild": {
"pluralReturn": "You can execute this command only in one of Guilds of those IDs:",
"defaultReturn": "You can execute this command only on the Guild with the follow ID:"
},
"specificChannel": {
"pluralReturn": "You can only execute this command on channels with those IDs:",
"defaultReturn": "You can only execute this command in a channel with the follow ID:"
},
"specificRole": {
"defaultReturn": "Only a member with a role with the follow ID can use this command:",
"nameReturn": "You need a role with the follow name to use that command:"
}
}
Example of usage:
local_storage/command_needs.json
{
"help": {
"options": {
"specificRole": "564476489979002931",
"specificAuthor": "134292889177030657",
"specificRole": "zero",
"specificChannel": "490329576300609538",
"specificGuild": "490329576300609536"
}
}
}
System will be launched and closes as soon as #10 gets confirmed.
~Actually, the default value is undefined~
The new options'll be:
SpecificAuthor
,SpecificGuild
,SpecificChannel
and not confirmedSpecificRole
.Not-Confirmed Documentation