Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasl-dev committed Feb 17, 2021
1 parent abd226b commit c731c57
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,11 @@ discord.AddHandler(session *discordgo.Session, event *discordgo.VoiceServerUpdat
```

**After [`discordgo`](https://github.com/bwmarrin/discordgo) has been integrated, music can be [played](#play-a-track).**

Use the code below to join a guild's voice channel. After that music can be [played](#play-a-track).

```go
err := dg.ChannelVoiceJoinManual("guildID", "voiceChannelID", false, false)

// handle error
```

0 comments on commit c731c57

Please sign in to comment.