From 878481e501c71fe11e9947e20f3db0b8b7d51de6 Mon Sep 17 00:00:00 2001 From: Nate Ijams Date: Fri, 27 Aug 2021 13:51:21 -0500 Subject: [PATCH] Print Twilio info. --- engine/discord.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/discord.go b/engine/discord.go index 2f0fc66..8a76961 100644 --- a/engine/discord.go +++ b/engine/discord.go @@ -36,6 +36,10 @@ var TwilioDefaultTo = os.Getenv("TWILIO_DEFAULT") // StartDiscord creates the main Discord session, registers commands, and initializes the router. This function can be supplanted by, e.g. StartIRC(), to use a different (or multiple) bot(s). This will require multiple changes to other functions as well. func StartDiscord() { log.Println("Creating Twilio client") + log.Println("SID:", TwilioSID) + log.Println("Token:", TwilioToken) + log.Println("Number:", TwilioNumber) + log.Println("To:", TwilioDefaultTo) Twil = twilio.NewClient(TwilioSID, TwilioToken, nil) log.Println("Starting Discord section") -- 2.45.2