2021-08-27 03:59:12 +00:00
|
|
|
package discord
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestGetMessage(t *testing.T) {
|
2021-09-27 03:35:42 +00:00
|
|
|
t.Skip("this test is only for debugging")
|
2021-08-27 03:59:12 +00:00
|
|
|
|
|
|
|
msg, err := GetChannelMessage(context.Background(), "404399251276169217", "764575065772916790")
|
|
|
|
assert.Nil(t, err)
|
|
|
|
t.Logf("%+v", msg)
|
|
|
|
}
|