discord-bot-lib

module
v24.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT

README

discord-bot-lib

This is a library for writing bots for discord in Go. It is still in a bit of a rough and fluid state (lacking lots of docs in particular).

See the following for example projects built on it:

TODO

  • documentation
  • tests
  • more payload handling?

Directories

Path Synopsis
bot
Package bot is the high-level constructs around a discord bot
Package bot is the high-level constructs around a discord bot
session
Package session handles the discord session caching/maintenance
Package session handles the discord session caching/maintenance
Package cmdhandler deals with handling bot commands
Package cmdhandler deals with handling bot commands
Package discordapi details components of the discord APIs
Package discordapi details components of the discord APIs
entity
Package entity defines the discord api entity structs
Package entity defines the discord api entity structs
etfapi
Package etfapi defines the etf interface
Package etfapi defines the etf interface
jsonapi
Package jsonapi handles the json api for discord
Package jsonapi handles the json api for discord
Package dispatcher handles opcode dispatching
Package dispatcher handles opcode dispatching
Package errreport describes the interface for error reporting to services like bugsnag
Package errreport describes the interface for error reporting to services like bugsnag
Package httpclient includes a wrapped http client for easier data access
Package httpclient includes a wrapped http client for easier data access
Package logging provides some logging helpers
Package logging provides some logging helpers
Package request handles context manipulations to make sure request information is properly propagated.
Package request handles context manipulations to make sure request information is properly propagated.
Package snowflake handles conversions between strings and snowflakes
Package snowflake handles conversions between strings and snowflakes
Package stats handles defining bot framework metrics
Package stats handles defining bot framework metrics
Package wsapi defines the websocket interface required for the bot
Package wsapi defines the websocket interface required for the bot
Package wsclient defines a websocket client and interface
Package wsclient defines a websocket client and interface

Jump to

Keyboard shortcuts

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