config

package
v0.0.0-...-40162fe Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Verbose       bool                   // Config from the own package to be verbose or not
	Prefix        string                 //	String of the prefix to use
	DiscordThings *discord.DiscordThings // This will host the discord things, including the bot structure
	RedditThings  *reddit.RedditThings   // This will save the reddit things
	Nposts        int                    //	The number of posts to query on reddit api
	Nsr           int                    // Number of subreddits to explore (do not be so much please)
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(v bool, n int, nsr int) *Config

func (*Config) Core

func (*Config) ReadOsVariables

func (c *Config) ReadOsVariables() (e error)

Jump to

Keyboard shortcuts

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