From c1b150ad190c77043acc8dac51bc6b63240d4e26 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Wed, 10 Jun 2020 17:41:14 -0700 Subject: [PATCH] Bumped to v0.0.25 --- channel.go | 1 + go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/channel.go b/channel.go index 54ee559..0e7e708 100644 --- a/channel.go +++ b/channel.go @@ -396,6 +396,7 @@ func (ch *Channel) CompleteMessage(words []string, i int) (entries []cchat.Compl func makeCompletion(word ...string) []cchat.CompletionEntry { var entries = make([]cchat.CompletionEntry, len(word)) for i, w := range word { + entries[i].Raw = w entries[i].Text.Content = w entries[i].IconURL = avatarURL } diff --git a/go.mod b/go.mod index 8239771..71e2cf1 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,6 @@ go 1.14 require ( github.com/Pallinder/go-randomdata v1.2.0 - github.com/diamondburned/cchat v0.0.23 + github.com/diamondburned/cchat v0.0.25 github.com/pkg/errors v0.9.1 ) diff --git a/go.sum b/go.sum index 0234cc5..5487731 100644 --- a/go.sum +++ b/go.sum @@ -46,6 +46,8 @@ github.com/diamondburned/cchat v0.0.22 h1:jmt0y3rMlFLbBP15Pb/GeGmeL72nx7vOvZoBA3 github.com/diamondburned/cchat v0.0.22/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU= github.com/diamondburned/cchat v0.0.23 h1:AcR0hX07fV2Wz3P/EXiPMWQIWWCw/mTFHIuwO41sGok= github.com/diamondburned/cchat v0.0.23/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU= +github.com/diamondburned/cchat v0.0.25 h1:+kf2gQu5TQs1vD/gCaVlzKu5vOqZz/1Qw87xHdeFYj4= +github.com/diamondburned/cchat v0.0.25/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU= github.com/lucasb-eyer/go-colorful v1.0.3 h1:QIbQXiugsb+q10B+MI+7DI1oQLdmnep86tWFlaaUAac= github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=