This commit is contained in:
Locria Cyber 2023-09-30 16:05:49 +00:00
parent 6abe9f4b32
commit b765ac8a8c
Signed by: iacore
GPG key ID: ED0D424AE4406330

View file

@ -14,6 +14,8 @@ const room_id = "!fXEYZcqHcbjztwNhhD:exozy.me" // very unfortunate name for a ch
func main() {
// the API key can be got by logging in with any Matrix client, and get it
// in element.io, find it under Settings -> About & Help -> Advanced
access_token, success := os.LookupEnv("MAUTRIX_ACCESS_TOKEN")
if !success {
panic("no access token")