mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-03 15:27:07 +00:00
added templates required by assignable role places
changed the way how exceptions are templated fixed generic exception template to handle text which might break the syntax
This commit is contained in:
15
translations/assignable-roles/src/main/assembly/assembly.xml
Normal file
15
translations/assignable-roles/src/main/assembly/assembly.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||
<id>zip</id>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<outputDirectory>.</outputDirectory>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@@ -0,0 +1 @@
|
||||
Activates an assignable place
|
||||
@@ -0,0 +1 @@
|
||||
Activates an assignable role place again, meaning reacting to the reactions will assign the configured roles.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place to activate
|
||||
@@ -0,0 +1 @@
|
||||
activateAssignableRolePlace <name>
|
||||
@@ -0,0 +1 @@
|
||||
Adds an assignable role to the assignable role place
|
||||
@@ -0,0 +1,2 @@
|
||||
Adds an assignable role to the given assignable role place. This assignment requires an emote, a description and a role to be assigned. The mentioned role will be assigned once a member reacts to the emote.
|
||||
Only emotes from a server the bot is in can be used and it is not possible to assign an emote twice. The emote will be added at the _end_ of the assignable role place and if the posts already exists, the emote will be added already.
|
||||
@@ -0,0 +1 @@
|
||||
The description of the role to be displayed next to the emote in the assignable role place
|
||||
@@ -0,0 +1 @@
|
||||
The emote to be used for reactions. This emote can be a default emote or an emote in a server the bot is in.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place to add the assignable role to.
|
||||
@@ -0,0 +1 @@
|
||||
The role to assign the member reacting.
|
||||
@@ -0,0 +1 @@
|
||||
addRoleToAssignableRolePlace <placeName> <emote> <description> <role>
|
||||
@@ -0,0 +1 @@
|
||||
Changes the description of an assignable role place
|
||||
@@ -0,0 +1 @@
|
||||
Changes the description which is shown for the assignable role place. This change takes effect the next time the assignable place is setup the next time.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place to change the description for
|
||||
@@ -0,0 +1 @@
|
||||
The new description to set for the assignable role place
|
||||
@@ -0,0 +1 @@
|
||||
changeAssignablePlaceDescription <placeName> <newDescription>
|
||||
@@ -0,0 +1 @@
|
||||
Changes the configuration of one assignable role place
|
||||
@@ -0,0 +1,6 @@
|
||||
Command to change the configuration of one assignable role place.
|
||||
The possible things to change are:
|
||||
`inline`: Whether or not the assignable role descriptions are shown inline. Inline means they will be as close together as possible, if this is set to false, they will be shown in a colum
|
||||
`autoRemove`: Whether or not the added reactions are immediately remove after the selected role has been assigned.
|
||||
`unique`: Whether or not it is only possible to select one role at a time.
|
||||
`active`: Whether or not the assignable role place is active. An inactive assignable role place, does not assign any roles and removes the reactions automatically.
|
||||
@@ -0,0 +1 @@
|
||||
The configuration which should be changed, can either be `inline`, `autoRemove`, `active` or `unique`. This key is not case sensitive.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place for the configuration should be changed.
|
||||
@@ -0,0 +1 @@
|
||||
The new value of the configuration. Either `true` or `false`
|
||||
@@ -0,0 +1 @@
|
||||
changeAssignableRolePlaceConfig <placeName> <key> <newValue>
|
||||
@@ -0,0 +1 @@
|
||||
Creates an assignable role place
|
||||
@@ -0,0 +1,2 @@
|
||||
Creates an assignable role place with the given name used as key to identify it. The provided description will be displayed when it is posted.
|
||||
This does not create any messages, only creates the instance in the database and can be removed with `deleteAssignableRolePlace`.
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which the assignable role post should be posted in.
|
||||
@@ -0,0 +1 @@
|
||||
The unique key of the assignable role place to create.
|
||||
@@ -0,0 +1 @@
|
||||
The text which should be displayed as the description of the assignable role place.
|
||||
@@ -0,0 +1 @@
|
||||
createAssignableRolePlace <name> <channel> <text>
|
||||
@@ -0,0 +1 @@
|
||||
Deactivates an assignable place
|
||||
@@ -0,0 +1 @@
|
||||
Activates an assignable role place again, meaning reacting to the reactions will not assign the configured roles and will automatically remove any added reactions.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place to deactivate
|
||||
@@ -0,0 +1 @@
|
||||
deactivateAssignableRolePlace <name>
|
||||
@@ -0,0 +1 @@
|
||||
Deletes the assignable role place from the database.
|
||||
@@ -0,0 +1 @@
|
||||
Deletes the assignable role place completely from the database and within discord, if there are any currently present
|
||||
@@ -0,0 +1 @@
|
||||
The assignable role place to delete
|
||||
@@ -0,0 +1 @@
|
||||
deleteAssignableRolePlace <placeName>
|
||||
@@ -0,0 +1 @@
|
||||
Changes the text of the assignable role place
|
||||
@@ -0,0 +1 @@
|
||||
This changes the text which describes the assignable role place and is shown in the the first message of the place.
|
||||
@@ -0,0 +1 @@
|
||||
The assignable role place to change the description of
|
||||
@@ -0,0 +1 @@
|
||||
The new description to show
|
||||
@@ -0,0 +1 @@
|
||||
editAssignableRolePlaceText <placeName> <newText>
|
||||
@@ -0,0 +1 @@
|
||||
Moves an assignable role place to another channel
|
||||
@@ -0,0 +1,2 @@
|
||||
Moves the assignable role place to another channel.
|
||||
This change only comes into effect the next time the assignable role place is setup the next time.
|
||||
@@ -0,0 +1 @@
|
||||
The channel to move the assignable role place to
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place to move
|
||||
@@ -0,0 +1 @@
|
||||
moveAssignableRolePlace <placeName> <newChannel>
|
||||
@@ -0,0 +1 @@
|
||||
Removes a role from an assignable place
|
||||
@@ -0,0 +1 @@
|
||||
Removes an assignable role from an assignable place. The place is identified by its key and the role is identified by the emote used to react to the post.
|
||||
@@ -0,0 +1 @@
|
||||
The emote which to identify the assignable role to remove
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place to remove the assignable role from
|
||||
@@ -0,0 +1 @@
|
||||
removeRoleFromAssignableRolePlace <placeName> <emote>
|
||||
@@ -0,0 +1 @@
|
||||
Sets the position of an emote within an assignable place
|
||||
@@ -0,0 +1,3 @@
|
||||
Sets the position of an assignable role within an assignable place.
|
||||
It is not possible to set it beyond the currently largest position and also not possible to set it to a position already taken by another assignable role.
|
||||
This change will ony be in effect when the assignable role place is setup the next time.
|
||||
@@ -0,0 +1 @@
|
||||
The emote which identifies the assignable role to change the position of
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place to change the position of an assignable role in
|
||||
@@ -0,0 +1 @@
|
||||
The new position of the assignable role
|
||||
@@ -0,0 +1 @@
|
||||
setAssignableRolePosition <placeName> <emote> <newPosition>
|
||||
@@ -0,0 +1 @@
|
||||
Creates the messages containing the assignable roles in the description and the emotes as reactions
|
||||
@@ -0,0 +1,2 @@
|
||||
Deletes the old assignable role posts (if any) and creates the assignable role posts completely anew in the channel where the assignable post is configured in.
|
||||
This effectively means that old reactions are lost, but the assigned roles still persist.
|
||||
@@ -0,0 +1 @@
|
||||
The assignable role place to setup
|
||||
@@ -0,0 +1 @@
|
||||
setupAssignableRolePlace <placeName>
|
||||
@@ -0,0 +1 @@
|
||||
#${role.position}: ${role.emote.asMention} with <#if role.awardedRole?has_content>${role.awardedRole.asMention}<#else>Deleted role</#if>: `${role.description}`.
|
||||
@@ -0,0 +1,2 @@
|
||||
Configuration for assignable roles for assignable role place `${place.key}`, shown with text: ${place.text}, which is currently ${place.active?string('active', 'not active')}. The fields are shown ${place.inline?string('inline', 'not inline')}.
|
||||
If a role has been assigned, the added reaction will ${place.autoRemove?string('be removed', 'not be removed')} and it is ${place.uniqueRoles?string('not possible', 'possible')} to have multiple roles at once.
|
||||
@@ -0,0 +1 @@
|
||||
The following roles are awarded
|
||||
@@ -0,0 +1 @@
|
||||
Shows the current configuration of an assignable role place
|
||||
@@ -0,0 +1,2 @@
|
||||
Shows all of the possible configurations of the given assignable role place.
|
||||
This includes: the assignable roles (emote, description and awarded role), whether or not the emotes are displayed inline or directly on top of one another, whether or not the assignable role place is active
|
||||
@@ -0,0 +1 @@
|
||||
The assignable role place to show of the configuration of
|
||||
@@ -0,0 +1 @@
|
||||
showAssignablePlaceConfig <placeName>
|
||||
@@ -0,0 +1 @@
|
||||
Currently configured assignable role places
|
||||
@@ -0,0 +1 @@
|
||||
No places found.
|
||||
@@ -0,0 +1 @@
|
||||
${place.key}
|
||||
@@ -0,0 +1 @@
|
||||
Shows the currently available assignable role places
|
||||
@@ -0,0 +1 @@
|
||||
Shows a list of the currently available assignable role places with their respective keys.
|
||||
@@ -0,0 +1 @@
|
||||
showAssignableRolePlaces
|
||||
@@ -0,0 +1 @@
|
||||
Switches the embed appearance of the roles for a assignable role place to be more spread out
|
||||
@@ -0,0 +1,2 @@
|
||||
This command can be used to show the emotes in the assignable place posts in a column, so the messages are a bit more spread out and structured.
|
||||
This change applies when the assignable place is setup the next time.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place in which the emotes should be displayed spread out.
|
||||
@@ -0,0 +1 @@
|
||||
spreadAssignableRolePlace <placeName>
|
||||
@@ -0,0 +1 @@
|
||||
Swaps the position of two emotes in an assignable place
|
||||
@@ -0,0 +1,3 @@
|
||||
This command swaps the position of two assignable roles in an assignable place.
|
||||
Both of the assignable roles must be present in the assignable place and are identified by the emote used.
|
||||
The changes only come to effect the next time the assignable role place is setup.
|
||||
@@ -0,0 +1 @@
|
||||
The emote which identifies one assignable role to swap
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable place to swap two assignable roles in
|
||||
@@ -0,0 +1 @@
|
||||
The emote which identifies the other assignable role to swap
|
||||
@@ -0,0 +1 @@
|
||||
swapAssignableRolePosition <placeName> <firstEmote> <secondEmote>
|
||||
@@ -0,0 +1 @@
|
||||
Tests an assignable role place and displays how it would look
|
||||
@@ -0,0 +1,2 @@
|
||||
This command is used to test how an assignable role place would look like.
|
||||
It will send the assignable role posts in the current channel, but will not place the reactions.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the assignable role place to tst
|
||||
@@ -0,0 +1 @@
|
||||
testAssignableRolePlace <placeName>
|
||||
@@ -0,0 +1 @@
|
||||
Assignable roles
|
||||
@@ -0,0 +1 @@
|
||||
User ${model.aUserInAServer.userReference.id} was not found in the assigned users.
|
||||
@@ -0,0 +1 @@
|
||||
Unable to create assignable place, channel ${model.channelId?c} does not exist.
|
||||
@@ -0,0 +1 @@
|
||||
Emote ${model.emote.emoteRepr} is already defined for place ${model.placeName}.
|
||||
@@ -0,0 +1 @@
|
||||
Assignable roles place ${model.name} already exists.
|
||||
@@ -0,0 +1 @@
|
||||
Assignable role place not found.
|
||||
@@ -0,0 +1 @@
|
||||
Assignable role place post with id ${model.messageId} could not be found.
|
||||
@@ -0,0 +1 @@
|
||||
Role ${model.role.roleRepr} is not usable to be used in the assignable role place. It may be higher in the role hierarchy than the bot.
|
||||
@@ -0,0 +1 @@
|
||||
Emote ${model.emote.emoteRepr} was not found in the assignable place ${model.placeName}.
|
||||
Reference in New Issue
Block a user