'''
guilds.py - All handlers under /guilds/*
'''

import json
import logging
from ..utils import _err, _json, strip_user_data

log = logging.getLogger(__name__)

class GuildsEndpoint:
    def __init__(self, server):
        self.server = server

    async def h_post_guilds(self, request):
        pass

@@ -296,8 +296,949 @@
    pass%0A
+%0A    async def h_guilds(self, request):%0A        '''%0A        GuildsEndpoint.h_guilds%0A%0A        Handle %60GET /guilds/%7Bguild_id%7D%60%0A        '''%0A        _error = await self.server.check_request(request)%0A        _error_json = json.loads(_error.text)%0A        if _error_json%5B'code'%5D == 0:%0A            return _error%0A%0A        guild_id = request.match_info%5B'guild_id'%5D%0A%0A        guild = self.server.guild_man.get_guild(guild_id)%0A        if guild is None:%0A            return _err('404: Not Found')%0A%0A        return _json(guild.as_json)%0A%0A    async def h_get_guild_channels(self, request):%0A        '''%0A        GuildsEndpoint.h_get_guild_channels%0A%0A        %60GET /guilds/%7Bguild_id%7D/channels%60%0A        '''%0A        _error = await self.server.check_request(request)%0A        _error_json = json.loads(_error.text)%0A        if _error_json%5B'code'%5D == 0:%0A            return _error%0A%0A        guild_id = request.match_info%5B'guild_id'%5D%0A%0A        return _json('Not Implemented')%0A

Add some dummy routes in GuildsEndpoint