Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
187187a8a2
|
|||
8d27f43cce
|
|||
f181552fb8
|
|||
32b1acf4aa
|
|||
1c1c71d40b
|
@@ -1,8 +1,12 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags-ignore:
|
||||
- v*
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
__version__ = "0.2.1"
|
||||
__version__ = "2.0.0"
|
||||
__license__ = "GPL3"
|
||||
__author__ = "Profitroll"
|
||||
|
||||
|
@@ -102,7 +102,8 @@ class PyroClient(Client):
|
||||
self.start_time: float = 0
|
||||
|
||||
self.bot_locale: BotLocale = BotLocale(
|
||||
(Path("locale") if locales_root is None else locales_root)
|
||||
default_locale=self.config["locale"],
|
||||
locales_root=(Path("locale") if locales_root is None else locales_root)
|
||||
)
|
||||
self.default_locale: str = self.bot_locale.default
|
||||
self.locales: dict = self.bot_locale.locales
|
||||
|
Reference in New Issue
Block a user