All Projects → hugolgst → Rich Go

hugolgst / Rich Go

Licence: mit
📇 Discord rich presence implementation for Linux, macOS and Windows in Golang

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Rich Go

Throw Voice
Simple audio recording for Discord. Mirror of https://gitlab.com/pawabot/pawa
Stars: ✭ 36 (-21.74%)
Mutual labels:  discord
Jeelangamusic
Discord bot with music functional. Play, skip, save music and etc!
Stars: ✭ 40 (-13.04%)
Mutual labels:  discord
Automod Bot
Fun moderation economy bot discord.js
Stars: ✭ 41 (-10.87%)
Mutual labels:  discord
Kbnhud
My TF2 HUD and one of many hobby projects. Readme has the info and links you need.
Stars: ✭ 36 (-21.74%)
Mutual labels:  discord
Promcord
📊 Analyze your entire discord guild in grafana using prometheus. Message, User, Game and Voice statistics...
Stars: ✭ 39 (-15.22%)
Mutual labels:  discord
Calebj Cogs
⚙ Cogs for Red-Discordbot
Stars: ✭ 42 (-8.7%)
Mutual labels:  discord
Epilink
Authenticate people on your Discord servers and give them roles automatically. All-in-one server back-end, Discord bot and front-end. Works with Google, Microsoft and any OpenID Connect provider.
Stars: ✭ 36 (-21.74%)
Mutual labels:  discord
Vk2discord
🔧 Автоматическая публикация записей из группы или профиля VK.COM в канал Discord
Stars: ✭ 45 (-2.17%)
Mutual labels:  discord
Discord Global Mutual
Get the list of people that you have shared servers with
Stars: ✭ 39 (-15.22%)
Mutual labels:  discord
Juniperbot
Fluffy Discord Bot (Music, Ranking, Reminder, Vk Community bridge,WikiFur) created using JDA
Stars: ✭ 43 (-6.52%)
Mutual labels:  discord
Clara
A general purpose Node.JS bot for Discord.
Stars: ✭ 37 (-19.57%)
Mutual labels:  discord
Discord Welcome Bot
This bot is a simple Discord Welcome Bot.
Stars: ✭ 39 (-15.22%)
Mutual labels:  discord
Scrape Youtube
A lightning fast package to scrape YouTube search results. This was made and optimized for Discord Bots.
Stars: ✭ 43 (-6.52%)
Mutual labels:  discord
Discord Webhooks
A simple lightweight Discord webhook client library.
Stars: ✭ 36 (-21.74%)
Mutual labels:  discord
Dagbot
The official Repository for dagbot, the self proclaimmed n1 meme bot.
Stars: ✭ 40 (-13.04%)
Mutual labels:  discord
Spotify Discord
Combine Discord and Spotify into one
Stars: ✭ 36 (-21.74%)
Mutual labels:  discord
Wiki
An open-source, community powered wiki, run by Discord enthusiasts.
Stars: ✭ 40 (-13.04%)
Mutual labels:  discord
Discord Tutorial Bot
Simple leveling bot for discord.
Stars: ✭ 46 (+0%)
Mutual labels:  discord
Discord Token Grabber
Gets discord token form ldb files c#
Stars: ✭ 44 (-4.35%)
Mutual labels:  discord
System Bot
Moderative and user-friendly discord bot using discord.js
Stars: ✭ 43 (-6.52%)
Mutual labels:  discord

rich-go Build Status

An implementation of Discord's rich presence in Golang for Linux, macOS and Windows

Installation

Install github.com/hugolgst/rich-go:

$ go get github.com/hugolgst/rich-go

Usage

First of all import rich-go

import "github.com/hugolgst/rich-go/client"

then login by sending the first handshake

err := client.Login("DISCORD_APP_ID")
if err != nil {
	panic(err)
}

and you can set the Rich Presence activity (parameters can be found :

err = client.SetActivity(client.Activity{
	State:      "Heyy!!!",
	Details:    "I'm running on rich-go :)",
	LargeImage: "largeimageid",
	LargeText:  "This is the large image :D",
	SmallImage: "smallimageid",
	SmallText:  "And this is the small image",
	Party: &client.Party{
		ID:         "-1",
		Players:    15,
		MaxPlayers: 24,
	},
	Timestamps: &client.Timestamps{
		Start: time.Now(),
	},
})

if err != nil {
	panic(err)
}

More details in the example

Contributing

  1. Fork it (https://github.com/hugolgst/rich-go/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].