Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't change bot languaje #76

Closed
Marc2p opened this issue Jul 30, 2022 · 5 comments
Closed

I can't change bot languaje #76

Marc2p opened this issue Jul 30, 2022 · 5 comments

Comments

@Marc2p
Copy link

Marc2p commented Jul 30, 2022

I'm trying to change bot languaje, but I can't
Even though I set the language in the config.json file, the bot is still in English. The same thing happens if I try to send the command cl languaje
When I send the command, it says the language has been changed, but it's still English

@lbk2907
Copy link

lbk2907 commented Jul 30, 2022 via email

@Marc2p
Copy link
Author

Marc2p commented Jul 30, 2022

No errors. Here is the log:

`` ERROR [2022-07-30 18:50:41,491]: [5] User authorization failed: no access_token passed. in MainThread file: vk.py line 7
4 function initialize
INFO [2022-07-30 18:50:42,641]: Started in MainThread file: init.py line 90 function run
INFO [2022-07-30 18:50:53,414]: New message cl es from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:50:58,545]: New message sc from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:51:01,987]: New message rs from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:51:02,007]: Bot closed in Thread-6 file: init.py line 113 function close
ERROR [2022-07-30 18:51:03,207]: [5] User authorization failed: no access_token passed. in MainThread file: vk.py line 7
4 function initialize
INFO [2022-07-30 18:51:04,385]: Started in MainThread file: init.py line 90 function run
INFO [2022-07-30 18:51:08,817]: New message h from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:51:28,191]: New message ua from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:52:02,483]: New message cc from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:52:05,656]: New message h from Markk in MainThread file: init.py line 95 function run
INFO [2022-07-30 18:52:24,034]: Bot closed in MainThread file: init.py line 113 function close

It just seems to ignore the language setting in the config.json file, staying with English.

The same thing happens when sending the cl command, it says the language has been changed but it remains in English

@Marc2p
Copy link
Author

Marc2p commented Jul 30, 2022

I also tried clearing the cache file and clearing the cache with the cc command

@lbk2907
Copy link

lbk2907 commented Jul 31, 2022 via email

@Marc2p
Copy link
Author

Marc2p commented Jul 31, 2022

Okay, there was the problem. I did not investigate and the documentation does not contain that information, it should be added.

Thank you very much!

@Marc2p Marc2p closed this as completed Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants