Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

📝 [CHANGE-REQUEST] - Rework lang feature #179

@Mittelblut9

Description

@Mittelblut9

Summary

Don't require the lang json file in each file. Instead use a global function to translate.

Basic Example

global.t.trans(['error.level.removexp.cannotRemoveFromBots'],main_interaction.guild.id)

Drawbacks

It will reduce the lines of code massivly and its using the same code less again and again.

Unresolved questions

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions