dashboard-v2/utils/discord/endpoints/channel/GetChannelMessages.go
2019-07-04 20:30:19 +01:00

15 lines
281 B
Go

package channel
import (
"fmt"
"github.com/TicketsBot/GoPanel/utils/discord"
)
func GetChannelMessages(id int) discord.Endpoint {
return discord.Endpoint{
RequestType: discord.GET,
AuthorizationType: discord.BOT,
Endpoint: fmt.Sprintf("/channels/%d/messages", id),
}
}