discord

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DISCORD_CLIENT_ID = "1208868446926807040"

Variables

View Source
var Activity = client.Activity{
	State:      "Playing",
	Details:    "",
	LargeImage: "retro",
	LargeText:  "retro",
	Buttons: []*client.Button{
		{
			Label: "Download Retro",
			Url:   "https://github.com/Malwarize/retro",
		},
	},
}

Functions

func Pause

func Pause() error

func Start

func Start(music string) error

func Stop

func Stop() (err error)

Types

type State

type State string
const (
	Playing State = "Playing"
	Paused  State = "Paused"
)

Jump to

Keyboard shortcuts

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