small pixel drawing of a pufferfish neoarkbot

hardcode access token
j3s j3s@c3f.net
Wed, 17 Mar 2021 16:54:24 -0500
commit

51f6a5999fe2d51254bbefa76618f6344b54e606

parent

042ef9483396c3147e111c93747a582ac891c4ee

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M main.gomain.go

@@ -28,6 +28,10 @@ }

gumbleutil.Main(gumbleutil.AutoBitrate, gumbleutil.Listener{ Connect: func(e *gumble.ConnectEvent) { + // hardcode access token cuz idgaf rn + e.Client.Config.Tokens = []string{"welcome"} + e.Client.Send(e.Client.Config.Tokens) + for _, file := range flag.Args() { key := filepath.Base(file) key = strings.TrimSuffix(key, filepath.Ext(key))