botservice

package
v0.0.0-...-dbefbc8 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Integration

type Integration interface {
	SendMessageToChannel(channel, message string) error
	SendMessageToUser(user, message string) error
	KickUser(user, message string) error
	GetName() (string, error)
	GetChannels() ([]Name, error)
	GetRoles() ([]Name, error)
	GetMembers() ([]Name, error)
	RemoveRole(user, role string) error
	AddRole(user, role string) error
	AddUser(auth, user, name string) error
}

Integration provides access to an authenticated service

type Name

type Name struct {
	ID    string
	Name  string
	Roles []string
}

Name returns internal ID, name, and roles from endpoints

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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