discord

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ManageMessagesPermission = 0x00002000
View Source
const MessagesRequestLimit = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultService

type DefaultService struct {
	// contains filtered or unexported fields
}

func NewDefaultService

func NewDefaultService(logger zerolog.Logger, token string) (*DefaultService, error)

func (*DefaultService) Clean

func (s *DefaultService) Clean(userID string, channelID string) error

func (*DefaultService) ValidatePermissions

func (s *DefaultService) ValidatePermissions(userID string, channelID string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL