예제 #1
0
        public string ShuffleQueue(IGuild guild)
        {
            DJGuildInfo g = null;

            if (!guildInfo.TryGetValue(guild, out g))
            {
                return("Nothing is currently playing");
            }

            if (g.queue.Count == 0)
            {
                return("Nothing is in the queue.");
            }

            g.Shuffle();
            return("Shuffled queue.");
        }