def get_all_channels(self):
for guild in self.guilds:<EOL><INDENT>for channel in guild.channels:<EOL><INDENT>yield channel<EOL><DEDENT><DEDENT>
A generator that retrieves every :class:`.abc.GuildChannel` the client can 'access'.

        This is equivalent to: ::

            for guild in client.guilds:
                for channel in guild.channels:
                    yield channel

        .. note::

            Just because you receive a :class:`.abc.GuildChannel` does not mean that
            you can communicate in said channel. :meth:`.abc.GuildChannel.permissions_for` should
            be used for that.