hardcode access token
j3s j3s@c3f.net
Wed, 17 Mar 2021 16:54:24 -0500
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
main.go
→
main.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))