Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commands.CreateCommand("PlayWithSomething")
- .Do(async(e) =>
- {
- int randGame = rand.Next(randGameIndex.Length);
- string message = randGameIndex[randGame];
- await e.Channel.SendMessage("Now playing " + message);
- discord.SetGame(message);
- });
- commands.CreateCommand("StopPlaying")
- .Do(async (e) =>
- {
- await e.Channel.SendMessage("aww..");
- discord.SetGame(null);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement