schiavo

package module
v0.0.0-...-9cdc674 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2016 License: MIT Imports: 7 Imported by: 84

README

schiavolib

A lightweight library for Schiavo.

Documentation

Overview

Example
Bunker.Send("Hello world!")
Output:

Index

Examples

Constants

This section is empty.

Variables

View Source
var ForceDo bool

ForceDo is a meme

View Source
var Prefix = ""

Prefix is a prefix that will be appended to all Schiavo messages if set.

View Source
var SchiavoURL = ""

SchiavoURL is the base URL for schiavo. Change to var when not hardcoded

Functions

This section is empty.

Types

type Channel

type Channel string

Channel is just a channel on the discord to which you can send messages.

const (
	General Channel = "general"
	Bunker  Channel = "bunk"
	ChatLog Channel = "chatlog"
	Staff   Channel = "staff"
	CMs     Channel = "cm"
)

Channels to which a message can be sent.

func (Channel) Send

func (c Channel) Send(m string) error

Send sends a message to a channel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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