fantasia

command module
v0.0.0-...-db4c05c Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 19 Imported by: 0

README

Fantasia


Dependencies

Audio dependencies

ffmpeg is required for converting audio to opus format. It should be installed to your path.

Installing youtubedl will allow you to queue videos in the media player from a variety of sources, such as soundcloud and facebook rather than specifically youtube. It should be added to your path similarly to ffmpeg.. If you choose not to use youtube-dl, set UseYotubeDL in the MusicPlayer config to false and it will resort to using the golang downloader, rylio/ytdl

Installing

Go to the releases and download a version or.

go get -U github.com/Necroforger/Fantasia

Navigate to GOPATH/github.com/Necroforger/Fantasia and use go build to create an executeable.

Running

Execute the bot and it should generate a config.toml file. Fill this in with your bot information and execute the bot again. You can copy the sample config to get started quickly.

Flags

Executing with flags is optional unless you want to use the same config With multiple tokens, or use a config file stored in a path other than ./config.toml

Flag Description
t Specify the bot token
c Config file path
s Enable selfbot mode
p Bot prefix

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tools

Jump to

Keyboard shortcuts

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