Перевёл на русский комментарии в коде
This commit is contained in:
parent
657b5ee8cf
commit
3462856b3b
2 changed files with 8 additions and 3 deletions
5
readme.md
Normal file
5
readme.md
Normal 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.
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Token — an authorization token to Discord API for bots
|
// Token — токен авторизации к АПИ Дискорда для ботов
|
||||||
var Token string
|
var Token string
|
||||||
|
|
||||||
// Retrieve the passed arguments on run
|
// Получение аргументов к запуску
|
||||||
func init() {
|
func init() {
|
||||||
flag.StringVar(&Token, "token", "", "Authorization token to Discord API for bots")
|
flag.StringVar(&Token, "token", "", "Authorization token to Discord API for bots")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
@ -18,4 +18,4 @@ func main() {
|
||||||
log.Println("Got the token:", Token)
|
log.Println("Got the token:", Token)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Create and register an interaction command that creates an account on Telegraph
|
// TODO: Создать и зарегстрировать команду, которая регистрирует аккаунт на Телеграфе. Здесь нужна ключ-значение БД.
|
||||||
|
|
Loading…
Add table
Reference in a new issue