Closed Tryware closed 2 years ago
this also happens with emotes idk why panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]: github.com/diamondburned/gtkcord3/gtkcord/components/message/completer.(State).applyCompletion(0xc000264300) /home/aldair/gtkcord3/gtkcord/components/message/completer/completer.go:269 +0x19f github.com/diamondburned/gotk4/pkg/core/glib.goMarshal(0x807f840, 0x0, 0x2, 0x7ffe9a93e9b0, 0x1a38d06, 0x7f14fb0) /home/aldair/go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.0.0-20211029022411-ad571a40956f/core/glib/glib.go:191 +0x93 github.com/diamondburned/gotk4/pkg/gio/v2._Cfunc_g_application_run(0x7464210, 0x1, 0x74e97b0) _cgo_gotypes.go:3305 +0x4c github.com/diamondburned/gotk4/pkg/gio/v2.(Application).Run.func3(0x74e97b0, 0x21c80, 0x36163b0) /home/aldair/go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.0.0-20211029022411-ad571a40956f/gio/v2/gapplication.go:943 +0x71 github.com/diamondburned/gotk4/pkg/gio/v2.(*Application).Run(0xc0004aa258, {0xc0000981c0, 0x3a88d37, 0x1}) /home/aldair/go/pkg/mod/github.com/diamondburned/gotk4/pkg@v0.0.0-20211029022411-ad571a40956f/gio/v2/gapplication.go:943 +0x1be main.main() /home/aldair/gtkcord3/main.go:74 +0x165
Fixed in 6f1ec16.
Whenever i mention something, it crashes.
here's the panic message: