jokerbot

command module
v0.0.0-...-4a3dff3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

JokerBot

A Discord bot that fetches jokes using the Nerd Jokes API written in Go

About

This is a very simple Discord bot which works in tandem with my Nerd Jokes API. It's part of my first project in learning golang and uses the language bindings for the Discord API provided by discordgo.

Usage

To use the bot, just clone the repository and run go run main.go [BOT TOKEN]. To compile it as a binary (recommended for production), run go build main.go, and then run it as ./main [BOT TOKEN].

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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