This commit is contained in:
nefrace 2023-01-19 23:12:55 +03:00
commit 62cd7b329e
6 changed files with 27 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "nechotron"]
path = nechotron
url = https://git.nefrace.ru/nefrace/nechotron.git

8
go.mod Normal file
View File

@ -0,0 +1,8 @@
module godette
go 1.19
require (
github.com/NicoNex/echotron/v3 v3.22.0
github.com/google/uuid v1.3.0
)

4
go.sum Normal file
View File

@ -0,0 +1,4 @@
github.com/NicoNex/echotron/v3 v3.22.0 h1:2ymJcjKqtZ/rfD5CveR2VKqQob7JmRgJmoLOJ3sim/4=
github.com/NicoNex/echotron/v3 v3.22.0/go.mod h1:LpP5IyHw0y+DZUZMBgXEDAF9O8feXrQu7w7nlJzzoZI=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=

BIN
godette Executable file

Binary file not shown.

11
main.go Normal file
View File

@ -0,0 +1,11 @@
package main
import (
"godette/nechotron"
"log"
)
func main() {
neko := nechotron.NewTron("1698825178:AAHy4Er7z768CmYy9M5drJOMQO2S-QnwdTI", nil)
log.Fatal(neko.DispatchPoll())
}

1
nechotron Submodule

@ -0,0 +1 @@
Subproject commit af8982be2db3515656e614ee194fa4f10c9b7b91