discord is an altid service allowing a user to connect to a discord network
go get github.com/altid/discord/cmd/discord@latest
Currently, we use the password field and set that to our token. This isn't ideal, we will be moving to oauth2
discord [-d] [-m] [-s <srv>] [-a <address>]
<srv>
service name to use. (Defaultdiscord
)
# altid/config - Place this in your operating systems' default configuration directory
service=discord address=discordapp.com auth=password
password=hunter2
user=myloginemail
log=/usr/halfwit/log
-
service matches the given servicename (default "discord")
-
address is currently ignored
-
auth is the authentication method, one of password|factotum
-
factotum uses a local factotm (Plan9, plan9port) to find your password
-
if auth=password, a matching password= tuple is required
-
user is your login email for Discord
-
log is a location to store channel logs. A special value of
none
disables logging.
See altid configuration for more information