Discover Packages
github.com/charles-m-knox/go-discord-bot
command
module
Version:
v0.0.0-...-b8f0039
Opens a new window with list of versions in this module.
Published: Sep 13, 2024
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
README
README
¶
go-discord-bot
This Go module provides basic functionality for a Discord bot that provides useful capabilities in all of the Discord servers I actively assist with.
Usage
Ensure you have Go installed first:
CGO_ENABLED=0 go build -v
# prints help
./go-discord-bot -h
Features
responds to ping/pong messages, but only in specified channels via the -c flag
message logging into a jsonl file
presence detection (server leave/join events) into a jsonl file
writes scheduled events to a json file for subscribed servers, with periodic refreshing (defaults to checking every hour)
Future features
May implement but no guarantees:
checking if users have no roles (they skipped onboarding and should be nudged)
add a couple / slash commands
add /donate command to be taken to a page to donate
add feedback modal slash command to allow members to provide feedback/suggestions
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.