dashboard-v2/utils/discord/endpoints/channel/GetChannelMessages.go
2020-04-02 20:53:11 +01:00

15 lines
295 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),
}
}