def shuffle(self, irc, msg, args, channel):
        self._checkManageCapabilities(irc, msg, channel)
        topics = self._splitTopic(irc.state.getTopic(channel), channel)
        if len(topics) == 0 or len(topics) == 1:
            irc.error(_('I can\'t shuffle 1 or fewer topics.'), Raise=True)
        elif len(topics) == 2:
            topics.reverse()
        else:
            original = topics[:]
            while topics == original:
                random.shuffle(topics)
        self._sendTopics(irc, channel, topics)
[<channel>]
dataset/ETHPy150Open ProgVal/Limnoria/plugins/Topic/plugin.py/Topic.shuffle