Перевёл на русский комментарии в коде

This commit is contained in:
bogdan zažigin 2023-05-14 02:25:08 +03:00
parent 657b5ee8cf
commit 3462856b3b
Signed by: zaboal
GPG key ID: C9918166D559FE8A
2 changed files with 8 additions and 3 deletions

5
readme.md Normal file
View file

@ -0,0 +1,5 @@
The official instance runs with ID [`1106701151774199858`](https://discord.com/users/1106701151774199858).
As the project is proposed for international use the **abouts and all the interfaces must be in English**, but the
project itself is developed by the Russian organization, so the **in-code commentaries must be in Russian** to do not
obscure the development process.

View file

@ -5,10 +5,10 @@ import (
"log"
)
// Token — an authorization token to Discord API for bots
// Token — токен авторизации к АПИ Дискорда для ботов
var Token string
// Retrieve the passed arguments on run
// Получение аргументов к запуску
func init() {
flag.StringVar(&Token, "token", "", "Authorization token to Discord API for bots")
flag.Parse()
@ -18,4 +18,4 @@ func main() {
log.Println("Got the token:", Token)
}
// TODO: Create and register an interaction command that creates an account on Telegraph
// TODO: Создать и зарегстрировать команду, которая регистрирует аккаунт на Телеграфе. Здесь нужна ключ-значение БД.