Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crolbar/disc.nvim
my discord rich presence for nvim
https://github.com/crolbar/disc.nvim
Last synced: 2 days ago
JSON representation
my discord rich presence for nvim
- Host: GitHub
- URL: https://github.com/crolbar/disc.nvim
- Owner: crolbar
- Created: 2024-07-17T05:25:49.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-08-04T05:40:31.000Z (6 months ago)
- Last Synced: 2024-08-04T06:38:15.910Z (6 months ago)
- Language: Lua
- Homepage:
- Size: 2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## My simple discord rich presence plugin for neovim
#### Start it with
```lua
require("disc").setup()
```## Config Example:
```lua
require("disc").setup({
timeout = 3000,client_id = "1219918645770059796", -- discord application id
details = "some details",
state = "some state",large_image_text = "large image",
large_image = "https://large_image.com", -- should be valid img
small_image_text = "small image",
small_image = "https://small_image.com",buttons = {
{
label = "label on first button",
url = "https://example.com"
},
{
label = "label on second button",
url = "https://example.com"
}
}
})
```## Commands
- `:DiscDisconnect` disconnect form discord
- `:DiscReconnect` to connect/reconnect to discord