Merge branch 'dev' into renovate/discord-api-types-0.x
This commit is contained in:
commit
b5cfac84d3
6 changed files with 368 additions and 8 deletions
11
lang/ach/plugins.json
Normal file
11
lang/ach/plugins.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"credits": {
|
||||
"modules": {
|
||||
"balance": {
|
||||
"general": {
|
||||
"title": "crwdns118:0:dollar:crwdne118:0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
115
lang/de/plugins.json
Normal file
115
lang/de/plugins.json
Normal file
|
@ -0,0 +1,115 @@
|
|||
{
|
||||
"credits": {
|
||||
"modules": {
|
||||
"balance": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Balance)"
|
||||
},
|
||||
"user_has_amount_credits": "<@{{user}}> has {{amount}} credits",
|
||||
"error01": {
|
||||
"description": "<@{{user}}> has no credits!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "<@{{user}}> has {{amount}} credits!\n"
|
||||
}
|
||||
},
|
||||
"gift": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Gift)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "You can not pay yourself!"
|
||||
},
|
||||
"error02": {
|
||||
"description": "You can't gift zero or below!"
|
||||
},
|
||||
"error03": {
|
||||
"description": "You have insufficient credits. Your balance is {{amount}}!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "You have received {{amount}} credits from {{user}} with reason {{reason}}!"
|
||||
},
|
||||
"success02": {
|
||||
"description": "Successfully gifted {{amount}} credits to <@{{user}}> with reason {{reason}}!"
|
||||
}
|
||||
},
|
||||
"top": {
|
||||
"entry": "{{index}}. <@{{user}}> - {{amount}}",
|
||||
"success01": {
|
||||
"description": "Top 10 users with the most credits."
|
||||
},
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Top)"
|
||||
}
|
||||
},
|
||||
"work": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Work)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "You can not work while on timeout, please wait {{time}} seconds."
|
||||
},
|
||||
"success01": {
|
||||
"description": "You worked and earned {{amount}} credits"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"utility": {
|
||||
"modules": {
|
||||
"avatar": {
|
||||
"general": {
|
||||
"title": "[:hammer:] Utility (Avatar)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Here you have <@{{user}}> avatar!"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"counters": {
|
||||
"modules": {
|
||||
"view": {
|
||||
"general": {
|
||||
"title": "[:1234:] Counters (View)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "No counter found for channel <#{{channel}}>!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Viewing counter for channel <#{{channel}} with count {{amount}}."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"manage": {
|
||||
"groups": {
|
||||
"counters": {
|
||||
"modules": {
|
||||
"create": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Manage - Counters (Create)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Created counter for <#{{channel}}>."
|
||||
},
|
||||
"error01": {
|
||||
"description": "A counter already exists for this channel."
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Manage - Counters (Delete)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "The counter for this channel does not exist."
|
||||
},
|
||||
"success01": {
|
||||
"description": "The counter for this channel has been deleted."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
lang/en/errors.json
Normal file
7
lang/en/errors.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"errors": {
|
||||
"guildOnly": "You can only use this command in a guild!",
|
||||
"userNotFound": "Could not find user <@{{user}}>.",
|
||||
"amountNotFound": "We could not read your requested amount!"
|
||||
}
|
||||
}
|
|
@ -1,3 +1,115 @@
|
|||
{
|
||||
"test":"test"
|
||||
"credits": {
|
||||
"modules": {
|
||||
"balance": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Balance)"
|
||||
},
|
||||
"user_has_amount_credits": "<@{{user}}> has {{amount}} credits",
|
||||
"error01": {
|
||||
"description": "<@{{user}}> has no credits!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "<@{{user}}> has {{amount}} credits!\n"
|
||||
}
|
||||
},
|
||||
"gift": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Gift)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "You can not pay yourself!"
|
||||
},
|
||||
"error02": {
|
||||
"description": "You can't gift zero or below!"
|
||||
},
|
||||
"error03": {
|
||||
"description": "You have insufficient credits. Your balance is {{amount}}!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "You have received {{amount}} credits from {{user}} with reason {{reason}}!"
|
||||
},
|
||||
"success02": {
|
||||
"description": "Successfully gifted {{amount}} credits to <@{{user}}> with reason {{reason}}!"
|
||||
}
|
||||
},
|
||||
"top": {
|
||||
"entry": "{{index}}. <@{{user}}> - {{amount}}",
|
||||
"success01": {
|
||||
"description": "Top 10 users with the most credits."
|
||||
},
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Top)"
|
||||
}
|
||||
},
|
||||
"work": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Credits (Work)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "You can not work while on timeout, please wait {{time}} seconds."
|
||||
},
|
||||
"success01": {
|
||||
"description": "You worked and earned {{amount}} credits"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"utility": {
|
||||
"modules": {
|
||||
"avatar": {
|
||||
"general": {
|
||||
"title": "[:hammer:] Utility (Avatar)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Here you have <@{{user}}> avatar!"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"counters": {
|
||||
"modules": {
|
||||
"view": {
|
||||
"general": {
|
||||
"title": "[:1234:] Counters (View)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "No counter found for channel <#{{channel}}>!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Viewing counter for channel <#{{channel}} with count {{amount}}."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"manage": {
|
||||
"groups": {
|
||||
"counters": {
|
||||
"modules": {
|
||||
"create": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Manage - Counters (Create)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Created counter for <#{{channel}}>."
|
||||
},
|
||||
"error01": {
|
||||
"description": "A counter already exists for this channel."
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Manage - Counters (Delete)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "The counter for this channel does not exist."
|
||||
},
|
||||
"success01": {
|
||||
"description": "The counter for this channel has been deleted."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
115
lang/sv/plugins.json
Normal file
115
lang/sv/plugins.json
Normal file
|
@ -0,0 +1,115 @@
|
|||
{
|
||||
"credits": {
|
||||
"modules": {
|
||||
"balance": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Krediter (Saldo)"
|
||||
},
|
||||
"user_has_amount_credits": "<@{{user}}> har {{amount}} krediter",
|
||||
"error01": {
|
||||
"description": "<@{{user}} har inga krediter!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "<@{{user}}> har {{amount}} krediter!\n"
|
||||
}
|
||||
},
|
||||
"gift": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Krediter (Gåva)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "Du kan inte betala själv!"
|
||||
},
|
||||
"error02": {
|
||||
"description": "Du kan inte ge noll eller nedan!"
|
||||
},
|
||||
"error03": {
|
||||
"description": "Du har otillräckliga krediter. Ditt saldo är {{amount}}!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Du har fått {{amount}} krediter från {{user}} med anledning av {{reason}}!"
|
||||
},
|
||||
"success02": {
|
||||
"description": "Du har fått {{amount}} krediter från {{user}} med anledning {{reason}}!"
|
||||
}
|
||||
},
|
||||
"top": {
|
||||
"entry": "{{index}}. <@{{user}}> - {{amount}}",
|
||||
"success01": {
|
||||
"description": "Topp 10 användare med flest krediter."
|
||||
},
|
||||
"general": {
|
||||
"title": "[:dollar:] Krediter (Topp)"
|
||||
}
|
||||
},
|
||||
"work": {
|
||||
"general": {
|
||||
"title": "[:dollar:] Krediter (Arbeta)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "Du kan inte arbeta under tiden du har paus, vänta {{time}} sekunder."
|
||||
},
|
||||
"success01": {
|
||||
"description": "Du arbetade och tjänade {{amount}} krediter"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"utility": {
|
||||
"modules": {
|
||||
"avatar": {
|
||||
"general": {
|
||||
"title": "[:hammer:] Verktyg (Avatar)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Här har du <@{{user}}> avatar!"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"counters": {
|
||||
"modules": {
|
||||
"view": {
|
||||
"general": {
|
||||
"title": "[:1234:] Räknare (Visa)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "Ingen räknare hittades för kanal <#{{channel}}>!"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Visar räknaren för kanal <#{{channel}} med antal {{amount}}."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"manage": {
|
||||
"groups": {
|
||||
"counters": {
|
||||
"modules": {
|
||||
"create": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Hantera - Räknare (Skapa)"
|
||||
},
|
||||
"success01": {
|
||||
"description": "Skapade räknare för <#{{channel}}>."
|
||||
},
|
||||
"error01": {
|
||||
"description": "En räknare finns redan för denna kanal."
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"general": {
|
||||
"title": "[:toolbox:] Hantera - Räknare (Ta bort)"
|
||||
},
|
||||
"error01": {
|
||||
"description": "Räknaren för denna kanal finns inte."
|
||||
},
|
||||
"success01": {
|
||||
"description": "Räknaren för denna kanal har tagits bort."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
14
package.json
14
package.json
|
@ -27,9 +27,9 @@
|
|||
"email": "vermium@zyner.org"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "^0.12.0",
|
||||
"@discordjs/builders": "^0.13.0",
|
||||
"@discordjs/rest": "^0.4.0",
|
||||
"axios": "^0.26.0",
|
||||
"axios": "^0.27.0",
|
||||
"chance": "^1.1.8",
|
||||
"common": "^0.2.5",
|
||||
"crypto": "^1.0.1",
|
||||
|
@ -39,25 +39,25 @@
|
|||
"mongoose": "^6.2.3",
|
||||
"node-schedule": "^2.1.0",
|
||||
"ts-node": "^10.7.0",
|
||||
"tsconfig-paths": "^3.14.1",
|
||||
"tsconfig-paths": "^4.0.0",
|
||||
"typescript": "^4.6.3",
|
||||
"uuid": "^8.3.2",
|
||||
"winston-daily-rotate-file": "^4.6.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chance": "^1.1.3",
|
||||
"@types/node-schedule": "^1.3.2",
|
||||
"@types/node-schedule": "2.1.0",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
||||
"@typescript-eslint/parser": "^5.15.0",
|
||||
"eslint": "8.13.0",
|
||||
"eslint": "8.15.0",
|
||||
"eslint-config-airbnb-base": "15.0.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-no-loops": "^0.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^7.0.0",
|
||||
"jest": "^27.5.1",
|
||||
"husky": "8.0.1",
|
||||
"jest": "28.0.0",
|
||||
"lint-staged": "^12.3.7",
|
||||
"prettier": "^2.6.0"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue