utils

package
v0.0.0-...-aafb61e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

irc-discord-bridgebot - a puppeteer bridge to connect IRC and Discord * Copyright (C) 2021 Arsen Arsenović <arsen@aarsen.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

View Source
var LicenseMessage string

Functions

func ConvUint64Panic

func ConvUint64Panic(str string) uint64

func GetEffectiveNickname

func GetEffectiveNickname(m *discordgo.Message) string

func GetEnvOrDef

func GetEnvOrDef(name, def string) string

func IntMin

func IntMin(ints ...int) int

func LogStackTraces

func LogStackTraces()

func RandomString

func RandomString(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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