mirror of
https://github.com/diamondburned/cchat-mock.git
synced 2025-03-25 19:39:22 +00:00
Fixed API for v0.0.34
This commit is contained in:
parent
8cac8b1637
commit
b286a03011
|
@ -316,7 +316,7 @@ const (
|
|||
BestTrapAction = "What's the best trap?"
|
||||
)
|
||||
|
||||
func (ch *Channel) MessageActions() []string {
|
||||
func (ch *Channel) MessageActions(id string) []string {
|
||||
return []string{
|
||||
DeleteAction,
|
||||
NoopAction,
|
||||
|
|
2
go.mod
2
go.mod
|
@ -4,6 +4,6 @@ go 1.14
|
|||
|
||||
require (
|
||||
github.com/Pallinder/go-randomdata v1.2.0
|
||||
github.com/diamondburned/cchat v0.0.28
|
||||
github.com/diamondburned/cchat v0.0.34
|
||||
github.com/pkg/errors v0.9.1
|
||||
)
|
||||
|
|
2
go.sum
2
go.sum
|
@ -54,6 +54,8 @@ github.com/diamondburned/cchat v0.0.27 h1:Wyf4oXoI8W+lZuj+wRGtzPuEYq2C+zuY2LQ3Q9
|
|||
github.com/diamondburned/cchat v0.0.27/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU=
|
||||
github.com/diamondburned/cchat v0.0.28 h1:+1VnltW0rl8/NZTUP+x89jVhi3YTTR+e6iLprZ7HcwM=
|
||||
github.com/diamondburned/cchat v0.0.28/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU=
|
||||
github.com/diamondburned/cchat v0.0.34 h1:BGiVxMRA9dmW3rLilIldBvjVan7eTTpaWCCfX9IKBYU=
|
||||
github.com/diamondburned/cchat v0.0.34/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=
|
||||
|
|
Loading…
Reference in a new issue