inits

package
v0.0.0-...-3591828 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Function to gather all the functions that start the bot

func InitializeBot

func InitializeBot(token string) *disgolf.Bot

Function that takes token value and creates a new discord session

func ReadBotToken

func ReadBotToken() string

Reading bot token from .env

func StartBot

func StartBot(discordSession *disgolf.Bot)

Function that takes session and starts it

Types

This section is empty.

Jump to

Keyboard shortcuts

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