-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from disnake.ext.commands import Bot | ||
|
||
from .cog import DynamicConfig | ||
|
||
|
||
def setup(bot: Bot): | ||
bot.add_cog(DynamicConfig(bot)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from config.messages import Messages as GlobalMessages | ||
|
||
|
||
class MessagesCZ(GlobalMessages): | ||
set_brief = "Nastaví hodnotu v konfiguraci" | ||
append_brief = "Přidá hodnotu do pole v konfiguraci" | ||
load_brief = "Znovu načte třídu ze souboru. Pro aplikování změn je potřeba znovu načíst i cog" | ||
list_brief = "Vypíše klíče konfigurace" | ||
get_brief = "Získá hodnotu z konfigurace" | ||
backup_brief = "Vytvoří záložní kopii konfigurace v novém souboru. Záloha bude obsahovat dnešní datum" | ||
sync_template_brief = "Přidá nové klíče z template do konfigurace" | ||
wrong_key = "Nesprávný klíč" | ||
wrong_type = "Nesprávný typ" | ||
backup_created = "Záloha konfigurace vytvořena." | ||
list_invalid_regex = "Chybný regex\n`{regex_err}`" | ||
config_updated = "Konfigurace aktualizována." | ||
config_loaded = "Konfigurace načtena." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters