Skip to content

Commit

Permalink
feat(roles-react): add missing cmd translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRunner committed Dec 30, 2023
1 parent b047ec3 commit 998c1d7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fcts/roles_react.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ async def rr_set_description(self, ctx: MyContext, emoji: DiscordOrUnicodeEmoji,
role=role_mention))

@rr_main.command(name='update')
@app_commands.describe(
embed="A link to the message you want to update",
change_description="Update the embed content (default: True)",
emojis="A list of emojis to include (default: all)")
@commands.check(checks.database_connected)
async def rr_update(self, ctx: MyContext, embed: discord.Message, change_description: bool = True,
emojis: commands.Greedy[DiscordOrUnicodeEmoji] = None):
Expand Down
17 changes: 17 additions & 0 deletions lang/commands/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,23 @@
"url": "url",
"type": "feed-type"
},
"roles-react add": {
"emoji": "emoji",
"role": "role",
"description": "description"
},
"roles-react remove": {
"emoji": "emoji"
},
"roles-react set-description": {
"emoji": "emoji",
"description": "description"
},
"roles-react update": {
"embed": "embed",
"change_description": "change-description",
"emojis": "emojis"
},
"rss add": {
"link": "link"
},
Expand Down
17 changes: 17 additions & 0 deletions lang/commands/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,23 @@
"url": "url",
"type": "type-de-flux"
},
"roles-react add": {
"emoji": "émoji",
"role": "rôle",
"description": "description"
},
"roles-react remove": {
"emoji": "émoji"
},
"roles-react set-description": {
"emoji": "émoji",
"description": "description"
},
"roles-react update": {
"embed": "embed",
"change_description": "modifier-description",
"emojis": "émojis"
},
"rss add": {
"link": "lien"
},
Expand Down

0 comments on commit 998c1d7

Please sign in to comment.