Top 0.6% dependent packages on proxy.golang.org
Top 0.8% dependent repos on proxy.golang.org
Top 3.0% forks on proxy.golang.org
Top 1.6% docker downloads on proxy.golang.org
proxy.golang.org : github.com/andersfylling/disgord
Package disgord provides Go bindings for the documented Discord API, and allows for a stateful Client using the Session interface, with the option of a configurable caching system or bypass the built-in caching logic all together. Create a Disgord client to get access to the REST API and gateway functionality. In the following example, we listen for new messages and respond with "hello". Session interface: https://pkg.go.dev/github.com/andersfylling/disgord?tab=doc#Session You don't have to use a callback function, channels are supported too! Never close a channel without removing the handler from Disgord, as it will cause a panic. You can control the lifetime of a handler or injected channel by in injecting a controller: disgord.HandlerCtrl. Since you are the owner of the channel, disgord will never close it for you. Disgord handles sharding for you automatically; when starting the bot, when discord demands you to scale up your shards (during runtime), etc. It also gives you control over the shard setup in case you want to run multiple instances of Disgord (in these cases you must handle scaling yourself as Disgord can not). Sharding is done behind the scenes, so you do not need to worry about any settings. Disgord will simply ask Discord for the recommended amount of shards for your bot on startup. However, to set specific amount of shards you can use the `disgord.ShardConfig` to specify a range of valid shard IDs (starts from 0). starting a bot with exactly 5 shards Running multiple instances each with 1 shard (note each instance must use unique shard ids) Handle scaling options yourself You can inject your own cache implementation. By default a read only LFU implementation is used, this should be sufficient for the average user. But you can overwrite certain methods as well! Say you dislike the implementation for MESSAGE_CREATE events, you can embed the default cache and define your own logic: > Note: if you inject your own cache, remember that the cache is also responsible for initiating the objects. > See disgord.CacheNop Whenever you call a REST method from the Session interface; the cache is always checked first. Upon a cache hit, no REST request is executed and you get the data from the cache in return. However, if this is problematic for you or there exist a bug which gives you bad/outdated data, you can bypass it by using Disgord flags. In addition to disgord.IgnoreCache, as shown above, you can pass in other flags such as: disgord.SortByID, disgord.OrderAscending, etc. You can find these flags in the flag.go file. `disgord_diagnosews` will store all the incoming and outgoing JSON data as files in the directory "diagnose-report/packets". The file format is as follows: unix_clientType_direction_shardID_operationCode_sequenceNumber[_eventName].json
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/andersfylling/disgord
Keywords:
api
, bindings
, bot
, discord
, discord-api
, disgord
, go
, golang
, golang-bindings
, golang-module
, voice
License: BSD-3-Clause
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/andersfylling
Dependent packages: 63
Dependent repositories: 51
Stars: 499 on GitHub
Forks: 68 on GitHub
Docker dependents: 4
Docker downloads: 117
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/andersfylling
Last synced: about 6 hours ago
github.com/lrstanley/discord-alertmanager v1.0.0 💰
Copyright (c) Liam Stanley <me@liamstanley.io>. All rights reserved. Use of this source code is g...1 version - Latest release: over 2 years ago - 6 stars on GitHub
github.com/yoonaowo/discord_verifier v0.0.0-20230410141421-de8f1eb41ae2
1 version - Latest release: over 2 years agogithub.com/lucxjo/diru v1.2.2 💰
A Discord translate bot written in Go9 versions - Latest release: over 2 years ago - 1 stars on GitHub
github.com/desmos-labs/hephaestus v0.3.1
Hephaestus is the official Desmos Discord bot4 versions - Latest release: almost 3 years ago - 2 stars on GitHub
github.com/alicyclic/cmdlr3 v0.0.0-20221127093321-6f0d862f8696
1 version - Latest release: almost 3 years agogithub.com/aplombomb/boombot v0.0.0-20221111213710-8475036459c6
A utility and music streaming bot for Discord servers3 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/jacks0n9/bot_template v1.0.0
Includes code to make ur very own disgord bot2 versions - Latest release: about 3 years ago - 1 stars on GitHub
github.com/meooow25/cfspy v0.0.0-20221012164450-6504193676d5
A simple Codeforces utility bot for Discord1 version - Latest release: about 3 years ago - 8 stars on GitHub
github.com/zackartz/cmdlr3 v0.1.5
6 versions - Latest release: about 3 years ago - 1 stars on GitHubgithub.com/mopeneko/discord-mamadm v0.0.0-20220614141306-9e7a16435dea
1 version - Latest release: over 3 years ago - 3 stars on GitHubgithub.com/nemphi/agata v0.0.0-20220312010654-11a7160c019c
1 version - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/galacticdocs/als-golang v1.0.0
A Apex Legends Status wrapper made in go.1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/GalacticDocs/ALS-GOlang v1.0.0
A Apex Legends Status wrapper made in go.1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/iep/image-carousel v0.1.0
1 version - Latest release: almost 4 years ago - 2 stars on GitHubgithub.com/IEP/image-carousel v0.1.0
1 version - Latest release: almost 4 years ago - 2 stars on GitHubgithub.com/puckzxz/reactroles v0.0.0-20211123011916-3c2a5bb93631
Discord reaction roles bot1 version - Latest release: almost 4 years ago - 2 stars on GitHub
github.com/puckzxz/dismand v0.0.0-20211021012406-0c16f957aa7e
A simple Disgord command framework1 version - Latest release: about 4 years ago - 1 dependent repositories - 1 stars on GitHub
github.com/chakrit/terraform-provider-discord v0.0.5
5 versions - Latest release: about 4 years ago - 2 stars on GitHubgithub.com/Raytar/helpbot v0.0.0-20210906204610-3b7c2026dbf3
1 version - Latest release: about 4 years agogithub.com/zackartz/cmdlr2 v0.1.17
Command handler for disgord. Based off of the excellent command handler dgc8 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/streamcord/spyglass-receiver v1.0.2
5 versions - Latest release: over 4 years agogithub.com/prod9/terraform-provider-discord v0.0.4
Discord terraform provider1 version - Latest release: over 4 years ago - 1 stars on GitHub
github.com/nulfrost/saber v0.0.0-20210614210923-df0d75cb5180
1 version - Latest release: over 4 years ago - 0 stars on GitHubgithub.com/fourthclasshonours/discord-radio v0.6.6
Discord Music bot, written in Go12 versions - Latest release: over 4 years ago - 5 stars on GitHub
github.com/bottleneckco/discord-radio v0.6.6
12 versions - Latest release: over 4 years agogithub.com/jakemakesstuff/gommand v1.20.0
20 versions - Latest release: almost 5 years agogithub.com/Jack073/gommand v1.20.0
Package gommand is a package with a lot of built in functionality to allow for a higher level com...20 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/jack073/gommand v1.20.0
20 versions - Latest release: almost 5 years agogithub.com/auttaja/gommand v1.20.0
Package gommand is a package with a lot of built in functionality to allow for a higher level com...20 versions - Latest release: almost 5 years ago - 2 dependent packages - 4 dependent repositories - 21 stars on GitHub
github.com/andersfylling/gommand v1.11.1 removed
19 versions - Latest release: about 5 years agogithub.com/aequasi/terraform-provider-discord v0.0.4 removed
4 versions - Latest release: about 5 years agogithub.com/Salmonllama/Gourd v1.2.2
A bot wrapper, command handler, and listener manager for the Disgord API library6 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/Salmonllama/gourd v1.2.2
A bot wrapper, command handler, and listener manager for the Disgord API library3 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/salmonllama/gourd v1.2.2
A bot wrapper, command handler, and listener manager for the Disgord API library5 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/auttaja/disgord-tlru v0.0.0-20200825154907-cec56a6e73f4
1 version - Latest release: about 5 years agogithub.com/projectdoll/commandrouter v0.0.0-20200801183914-a0d6d79c1a2f
1 version - Latest release: over 5 years agogithub.com/projectdoll/utils v0.0.0-20200801165415-354e96de4e5a
1 version - Latest release: over 5 years agogithub.com/chrislgardner/go-discord-bot v0.1.9
Discord Bot written in Go for doing stuff and learning Go.8 versions - Latest release: over 5 years ago - 6 stars on GitHub
github.com/Terisback/robo-biba v0.0.0-20200716211307-a86730aacc4d
Russian Gamedev Server Discord Bot1 version - Latest release: over 5 years ago - 0 stars on GitHub
github.com/purdoobahs/zahtbot v0.3.0
The Official ZahtBot.5 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/nightmarlin/disgobed v0.0.2 removed
2 versions - Latest release: over 5 years agogithub.com/Nightmarlin/disgobed v0.0.2
Package disgobed wraps the discordgo embed with helper functions to facilitate easier constructio...2 versions - Latest release: over 5 years ago - 1 stars on GitHub
github.com/saanuregh/dca v0.0.0-20200613122550-7b16810d56e6
1 version - Latest release: over 5 years agogithub.com/purdoobahs/purdoobahdiscordbot v0.1.0
The Official Purdoobah Discord bot.1 version - Latest release: over 5 years ago - 0 stars on GitHub
github.com/fjah/moderari v0.0.0-20200524065244-4c1142dc3b52
1 version - Latest release: over 5 years agogithub.com/pazuzu156/persephone v1.4.2
12 versions - Latest release: over 5 years ago - 2 stars on GitHubgithub.com/Noctember/gocto v1.4.15
The Sapphire Framework for building Discord Bots using Golang28 versions - Latest release: over 5 years ago - 1 stars on GitHub
github.com/noctember/gocto v1.4.15
The Sapphire Framework for building Discord Bots using Golang28 versions - Latest release: over 5 years ago - 1 stars on GitHub
github.com/noctember/sapphire v1.4.15
Sapphire is a complete discord bot framework for Golang with discordgo28 versions - Latest release: over 5 years ago - 1 stars on GitHub
github.com/Noctember/sapphire v1.4.15
Sapphire is a complete discord bot framework for Golang with discordgo28 versions - Latest release: over 5 years ago
go.matthewp.io/router v0.0.0-20200120213832-608579be5166
Package router ...1 version - Latest release: almost 6 years ago
gitlab.com/paars/discord/disgo v0.0.0-20200113172050-625dfb0a5a27
1 version - Latest release: almost 6 years ago - 0 stars on gitlab.comgithub.com/Quartzium/backend v0.0.0-20200105164808-2f5854971b68
1 version - Latest release: almost 6 years agogithub.com/pazuzu156/atlas v1.4.0 removed
8 versions - Latest release: almost 6 years ago - 1 dependent package - 2 dependent repositoriesgithub.com/jfoster/discord-set-slowmode-bot v0.2.0
10 versions - Latest release: about 6 years agogithub.com/jfoster/discord-slowmode-bot v0.2.0
Discord bot to set slowmode of a channel to any value between 1 second and 6 hours10 versions - Latest release: about 6 years ago - 6 stars on GitHub
github.com/jfoster/discordtestbot v0.2.0
10 versions - Latest release: about 6 years agogithub.com/nyankiyoshi/disgord-plugin-router v0.0.1
A plugin management and routing mechanism for disgord.1 version - Latest release: over 6 years ago - 4 stars on GitHub
github.com/NyanKiyoshi/disgord-plugin-router v0.0.1
Package drouter was taken from docker's distribution repo, under Apache-2.0 license: https://gith...1 version - Latest release: over 6 years ago - 4 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.