|
|
|
@ -41,7 +41,7 @@ func init() {
@@ -41,7 +41,7 @@ func init() {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func main() { |
|
|
|
|
runWeb() |
|
|
|
|
go runWeb() |
|
|
|
|
defer log.PanicSafe() |
|
|
|
|
if configFile == "" { |
|
|
|
|
configFile = "config.json" |
|
|
|
@ -154,7 +154,7 @@ func runPurge(s *discordgo.Session) {
@@ -154,7 +154,7 @@ func runPurge(s *discordgo.Session) {
|
|
|
|
|
|
|
|
|
|
func ready(s *discordgo.Session, event *discordgo.Ready) { |
|
|
|
|
// Set the playing status.
|
|
|
|
|
s.UpdateStatus(0, "DreamDaddy v1.0") |
|
|
|
|
s.UpdateStatus(0, "DreamDaddy v1.1") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) { |
|
|
|
|