diff --git a/bots/discord/discord.go b/bots/discord/discord.go index f656a56f..4c9c974a 100644 --- a/bots/discord/discord.go +++ b/bots/discord/discord.go @@ -95,6 +95,11 @@ func onMessage(s *discordgo.Session, m *discordgo.MessageCreate) { return } + if strings.HasPrefix(m.Content, "!play ") { + s.UpdateStatus(0, strings.Split(m.Content, " ")[1]) + return + } + if strings.HasPrefix(m.Content, "!s ") { term := m.Content[len("!s "):] users, animes, posts, threads := arn.Search(term, 3, 3, 3, 3)