get guild from state where nessecary [fix
@@ -83,7 +83,7 @@ func (ws *WebServer) handlerGuildsGetGuild(ctx *routing.Context) error {
return jsonError(ctx, errNotFound, fasthttp.StatusNotFound)
}
- guild, err := ws.session.Guild(guildID)
+ guild, err := ws.session.State.Guild(guildID)
if err != nil {
return jsonError(ctx, err, fasthttp.StatusInternalServerError)
}
