discordbot

command module
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 5 Imported by: 0

README

discordbot

Go Go Report Card

The discord bot is a naiv implementation for a message bot, which can be added to your discord server and the behavior is like the slack bot. The application can execute actions with message buzzwords like !foo and return famouse quotes like > bar - foo. In the dictionary file are included some quotes or the reactions of the buzzwords. The bot is a self-hosted application and don't need much resources, which means, e.g. you can run it on a regular raspberry pi or build your own docker image and run it everywhere.

Register on discord

Create your own discord bot on discord. The discord wants to register your bot to create a unique bot token. So you have to create your own application. For more information read the offical documentation

Installation

Compile the source or use the docker image to execute the application. There two important settings, which are needed to run the discord bot. The first one is the discord token, which is needed for the authentication between discord and bot. The second one is the path to the dictionary which includes all actions like buzzwords and quotes.

Metrics

The bot provides some metrics, which can be used by prometheus/grafana. So there is a monitoring option for the service.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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